I doubt Twilight was seeing someone before then, so I think her carrying a foal is unlikely. However, I think that the spell cast by Spell Nexus was able to synthesize a body for Nightmare Moon from the DNA that remained on the scraps of cobalt and gold armor since being gathered, as well as the DNA from Twilight's blood.