Did anyone start ovulating only after losing weight?

Co

Hi, Im new here. My period was always only every 3-5 months then i went on bc for 5 years. I came off it in June, started metformin. After 5 months with no period I got provera to induce one and then clomid. Im not sure if the clomid worked or not. But now Im wondering if nothing happens, it could be because of my weight. My bmi is 32 right now and Ive lost 18 lbs so far. Has anyone NOT had periods/ovulation then lost weight and suddenly they do?