Yes!

It is safe for your dog to have beans. Although some beans are safe, certain types of beans are not safe for dogs to eat, such as broad beans and raw kidney beans.