No!

It is not safe for your dog to have ham. Processed meats like ham contain a large amount of sodium and preservatives.