I wouldn't sell your apartment, but that's just my view.
There are many unemployed, highly experienced pilots who have been looking for jobs for months, and not to put you down, but who are airline's going to hire? A first-timer with little experience or an experience jet pilot with 5000 hours?
Obviously, it's your life and if this is something you
really want, then go for it. You'll never know unless you try, and you only live once.
It's a massive risk, and it could either go great or terrible. If you're prepared to take that risk, then go for it. But looking at your life now, if you're happy with what you're fortunate to have already, then why bother with the risk? If you're not, then there's nothing wrong with trying to make life better for yourself, as long as you do know what might happen if it does go belly up.
Have you thought about modular training, and taking it one step at a time so you don't have to sell your apartment and can still keep your current job just in case?
Good luck in whatever you decide to do!