"I was wondering if it's wise to do it before severe inflation and bank on the inflation happening."
To do this, you would have to outsmart the economists at the bank (of course, that doesn't look too difficult given their track record of the last 5 years.) Banks will raise rates in anticipation of inflation. They won't wait around for it to happen. That being said, if you were to correctly anticipate hyperinflation ahead of the banks, and assuming you could find an asset class which appreciates faster than the interest rate on your bank loan, you could come out ahead using this strategy.