Thyroid discovery after two miscarriages

Retreat • 27 years old.Newly wed. 3 miscarriages in 11 mths . (3 loses) last bub had chromo error hoping for a rainbow ❤️ baby...
Hi Ladies
I just wanted some hopeful feedback. I got most of my blood work back the other day and apparently I have quite an under active thyroid problem.
 I'm thinking to myself is this the reason for two for two of my early miscarriages?
Has anyone been through a similar thing as me and thereafter was able to conceive their rainbow Bub?
Thank you xxx