The short answer is Yes, BUT,:
Did you know not all peanut butter has the same ingredients? In fact some peanut butter is high in sodium, sugar, salt, and ingredients that are unhealthy for dogs, and lets be honest, humans too.
Some sugar-free peanut butter has xylitol as a sweetener. Xylitol is toxic to dogs; it causes a rapid release of insulin in dogs. If left untreated, it can be a life-threatening condition.
Some dogs may be allergic to peanuts.
So whilst most dogs (like humans) will love their daily dose of peanut butter, there are those among us who are unable to enjoy such treats.
It is always important to monitor your dogs when giving treats, always provide fresh clean water, and if a reaction occurs, consult your local veterinarian.