Has anybody done rent to own home

Br

So now that I’m pregnant me and my husband plan on moving back home to where he works and where are family is to be closer and I’ll just commute my last semester. We were thinking about buying a house but I’m honestly not sure if I want stay there for good, so I was thinking about rent to own it’s affordable, if I stay well eventually own but if we wanna leave we can. Atleast I assume that’s how it works, any advice?