Some do yes a corn snake does eat eggs because I had a corn snake in my classroom when I was in 6 grade and we fed it eggs and ate the whole thing.
Yes some snakes will eat eggs, but mostly only wild caught ones will eat eggs. Eggs should not be a regular part of the diet if purchased from hatcheries or stores as unfertilized eggs have very little nutritional value. www.anapsid.org