If you give an egg, give it raw. Cooking it will destroy the goodness. I would not give him anything cooked. Remember, dogs can't really digest the grains, fruits and veggies like we do. However, I don't see anything wrong with giving them veggies sometimes just because they like them but don't expect him to get anything nutritionally from them.
Just my humble opinion.