To take a loan to invest in a volatile asset is just like gambling which is always two sides. So you have to check what happens if the price drops and stays down there for long while your loan repayment time fast approach, you will be in the risk of losing your collateral and that is usually higher than the loan itself. So you have to check your repayment source even if you want to take such loan but to depend on the bitcoin investment profit to repay the loan debt, is just as good as gambling.
But at the moment, to take such risk is not worth it because the price of bitcoin has been on support and struggling up and down, meaning the volatility is reducing and anytime soon the bear might take over. Therefore, to invest in bitcoin is better at the bottom not from top.
OP gave us a small information and I don't have much to give either. Each loan from each banks has an interest rate and we don't know where OP want to take his loan and how much interest rate he is going to charge. If they are going to make the loan a long term and the interest rate is low and affordable, then he can go ahead but only if he has a source of income. He can't depend on the Bitcoin the money to pay back the loan, your wallet might have not mature to pay back.
Some people has become a Bitcoin owner through this and this is why some people preferred DCA. It's not a must to have an amount of Bitcoin at a place, you can buy and hold the little amount you collect as salary assuming you work and want to pay. Be doing DCA gradually until you are able to discuss an amount Bitcoin you have always wanted and you don't have to deal with the interest rate the banks are going to give you. Don't remain on debt if you want to be comfortable.