No!

It is not safe for your dog to have baked beans. Dogs should avoid eating baked beans due to the high sodium and fat content. They may also contain preservatives and other toxic ingredients.