The biggest cause of egg eating is weak egg shells. That can be from not enough calcium in the feed, too may treats and parasites.
If the egg shell problem is fixed, the egg eating will go away
If the egg shell problem is fixed, the egg eating will go away