It can.
Mycoplasma infections can cause gynaecological inflammation such as non-gonococcal urethritis, vaginitis and cervicitis, reducing the chances of pregnancy, and it is best to prepare for conception after active treatment until the mycoplasma test results are negative.
In combination with other pathogenic infections, symptoms of mycoplasma infection during pregnancy can increase the risk of adverse pregnancy outcomes such as miscarriage and preterm delivery, so it is important to treat them promptly at this time.