Yes you can, and sometimes that’s the best option if there’s no other way to pay what you owe. However, you do need to consider if this would be the best option for you. It might not be suitable if:
You’re in negative equity, meaning the property is worth less than you owe to the lender
You’d have to rent a home with higher monthly payments
You’re considering going ahead with an insolvency solution, such as bankruptcy. The person overseeing any bankruptcy (called the official receiver) may look into the sale when they investigate your insolvency, especially if you sold the house for significantly below market value