They can be broken of egg eating, but it may not be easy or permanent.
You can try like mentioned before filling blown out eggs with mustard, horseradish or liquid soap. The idea is that by making eggs less tasty they will leave them alone.
Use fake eggs in the nests.
Collect eggs often, get to them before they do.
Make the nests dark. Some people have even resorted to curtains in front of the nests.
I had success a few years ago by rearranging things in the coop. I think I shook them up a bit.
And as a last resort there are roll away nests, the eggs roll away after being layed, so the hens cannot reach them.
Good luck,
Imp