My personal story is I was in a similar situation, I used to do "Flash" development, which died out a long time ago. After some sporadic work and rough times, I did a developer bootcamp (General Assembly) and took out a large loan. I had my older brother co-sign and help pay. I worked REALLY hard, 10-12 hour days of coding for 3-4 months. I landed a contract coding job after several interviews, and usually one job is all you need to get the wheel rolling. The loan is paid off, no regrets.
Getting any job is an effort. I suggest people get better practice interviewing and presenting themselves. Finding a career coach or mentor is incredibly helpful. And finally, getting instructor-led education is potentially the best strategy. Even taking one introductory class can be invigorating to see a clearer path forward.
You're experienced enough to get good by doing courses online.
Just get over the fear of picking technology that will be outdated and do a course right now. Vuejs or React for the frontend and Laravel for the backend.
If both backend and frontend end up being too much, maybe focus on the one you like better.
Learn to deploy to AWS. Learn how to make a CI/CD in Github Actions to deploy for free.
Boom, you've done a bootcamp (or a bunch of them actually).
Now all you need is 10 year experience to get hired by companies... oh wait you already have it ;)
If they offered better financing plans or some "pay back after employment" arrangement, I might consider.