Not really bad to take some loan specially if we do see some opportunity and also we arent all the times having the cash to invest on which means that you would really be opting out to take some loan
because of having lack of cash but its not really that bad a decision as long you do make yourself that responsible on repaying those so that you wont really be ending up miserable in terms of
financial losses or being wrekt.
Be practical and be mindful about your investment and with the risk involved so that you would not really able to put yourself in hard situation.
Its not bad if you're confident that you can repay your loan regardless of the outcome of your investment. Because every investment has risk and there's no assurance that we'll gain from it hence I think its best to have less expectation and dont rely on it. Thus if ever you will need to borrow money in order to invest, having a real job is an advantage, this is to ensure you can repay your borrowed money.
Nevertheless its still not advisable to take loan. Use your own money to invest, less worries incase something went wrong.