you can do that but it won't make you rich quick, instead you will feel pressured by the bills from your loan every month. you have to be absolutely sure that you are not going to make a big deal out of it or you are in debt just to get rich immediately with bitcoin investment. that is a big mistake. I'm sure there are many successful ways to relax without having to sacrifice a lot of emotions and that will make us successful in the future. try to invest with free money.
Of course, investing by taking a loan is never a good decision. You have no guarantee that you will invest and make a lot of profit. After investing, if the value of the coin does not increase as you expected, you cannot sell your investments even if you want to. At that time you will have nothing to do when the lenders will pressurize you to repay the loan. Such stupid decisions should never be taken. There is no specific time limit for investment that if I can't invest at this time then I can never invest again. Earn some money first and then you can invest a part of that amount if you want so that you don't have to worry about holding your investment for a long time.