Obviously, if you find a property to rent and at some point after move-in you agree to discuss and/or negotiate for the purchase the parties can also determine a acceptable lease termination date. I do not recommend a lease to own contract. These agreements rarely accomplish the intended savings by the tenant-buyer.
I'm currently working with a client seeking a 1 year apartment rental in the Carlsbad area. A number of places I have viewed offered shorter term rentals. You will typically pay more for that flexibility. Give me a call and I can share my findings with you - 760-687-5836.