I don't think it's the best idea. But even sometimes it works. Everything starts from your investment idea, then from the investment field plus the knowledge you have in this field. Because if you have a very well structured plan that you know will bring success, Well you can risk and borrow money, otherwise I do not recommend such a thing. Important is how the investment will take place, for example, I have struggled a lot to find stocks to invest in. I, as a person, have barely gained confidence in a field, so I would not borrow money for investments.