Yes. Dogs are perfectly willing to eat human corpses, and there's no evidence that they treat their masters differently than any other dead body. Many cultures consider dogs unclean precisely because of their tendency to scavenge our remains. In The Iliad, Homer makes nine references to dogs eating dead bodies.