It might work with a C-section. Reassignment surgery isn’t stretchy enough for a live birth. For trans girls who start before male puberty they might get enough pelvic rotation for there to be enough room for it, though.
Not transfem myself, but considering the risk of tears and other unpleasantness from a vaginal birth I know I'd probably opt for a C-section if I were in that position regardless... recovering from bottom surgery once is tough enough without the miracle of life wreaking havoc on the place after :P