sw
There are many difficulties with that. A lender needs to be able to refuse a loan to someone who he judges not to be creditworthy. If a person could sell his house and, without the lender's consent, have the loan taken over by someone who won't pay it, lending would be a lot more risky; indeed, it would pose the type of moral-hazard risk that would be anathema to prudent lenders.