Some of my excess eggs are fed to the chickens. I scramble them, really out of habit, plus if there happens to be salmonella in the flock, it is killed by the cooking. I like that it gives them a source of animal protein, as most feeds at least around here have no animal protein. I've read of old timers dealing with poopy eggs by breaking them on the floor of the coop -- of course they eat this right away, and even raw, it supposedly does not lead to egg eating. Some people blend the raw eggs then cook them, so the chickens get the egg shells, too -- a source of calcium, of course. I'm reluctant to do this, but plenty of people do feed their shells back to them, and I'm probably being foolish.
From reading, I believe egg eating is a more complex thing, probably a learned behavior, and unlikely if you collect eggs often and they are not crowded, so they don't usually get accidentally broken.