Yes, egg is mentioned in the Quran through simile.
The Quran uses the image of a "hidden egg" to describe the huris (companions in Paradise). This is found in verse 37:49, Surah As-Saaffat:
Verse 37:49 (As-Saaffat): "كَأَنَّهُنَّ بَيْضٌ مَّكْنُونٌ"
Translation: "(As if they were) protected eggs."
This verse likens the purity and beauty of the huris to that of a well-protected egg, shielded from outside elements. The analogy highlights the unspoiled and pristine nature of the huris in Jannah (Paradise). The image of a hidden egg, protected by its shell and the feathers of a bird, was easily understandable and relatable for the people of Arabia during the time of revelation, signifying purity, delicacy, and being well-guarded. It's important to note that the Quran doesn't mention eggs in the context of food or sustenance, but rather as a simile to convey specific qualities.