Yes, flies emerge from eggs as larvae, so indirectly, they are "born" from eggs. The life cycle includes this stage.
Flies undergo a complete metamorphosis, meaning they have four distinct life stages:
- Egg
- Larva (maggot)
- Pupa
- Adult
According to the provided reference, the gestation of a house fly egg is only 24 hours. After that, larvae emerge from the eggs. So, while not born in the same way mammals are, flies develop from eggs into larvae.