I do think that it's always best to test something out first, and even if you can't borrow a bike, then even buying a cheap model and using that for a couple of months will help you decide if you want to take it up or not.
Either way you need to make sure that whatever bike you buy, you get the most out of it and don't let it go to waste.