It's advised by vets to not give dogs chicken bones that have been cooked because it can get stuck in the dogs throat when eating the chicken bone.
But I personally never had a problem for years feeding dogs chicken bones after eating them.
The dogs eat bones in the wild and never have a problem so as long as your dog can chew the chicken bones it should be no problem but you should supervise the dog while eating the chicken bone just to make sure they're not getting choked on it.