Clomid to regulate cycles??

For the last 18-20 months (since my Bariatric surgery) my cycles have been sporadic at best. Anywhere from 15 days all the way up to 42 days. I am unable to be on birth control as I’m 38 and have a medical condition that already puts me at high risk for blood clots. I’ve heard that Clomid could help regulate my cycles. Has anyone had any luck with that? Or is there something else that’s worked better?!?! We’re not technically “trying”, but we’re not preventing pregnancy either. Any suggestions are appreciated!!