There is a situation where you can transfer the house without paying it back, that is, the mortgage transfer, and the person who bought your house went to the bank where you borrowed money to check the qualifications. After meeting the loan conditions, you don't have to pay it back first. After you transfer, the person who bought your house will continue to repay the loan.
When the house is sold and the loan is repaid, there is no house under its name. Most of our banks can follow suit, but the places are different. You can talk to the bank first.