Borrowing money to invest is not uncommon but there are things to consider before you do