This ship has sailed. The problem with the remote work is that you're making yourself vulnerable for AI and outsourcing. We are in an environment where employers will see that Your position can be done at home and reason why they need you specifically to do it.
The only way around this is to go get into a credentialed and licensed field like telehealth or maybe actuarial sciences where your license is more useful than the information coming out of your mouth or more valuable than the info in your keyboard.
If you are really good at test taking, then you can knock out a lot of the actuarial exams with at home studying. As long as you have a bachelor's degree, they don't suffer from ageism. But be warned that it's very statistics heavy. It takes about 2 years to study for and take the tests required to be an actuary, but it doesn't require additional schooling. Even in this economy insurance companies are still hiring and there are many remote positions for actuaries because the HQs of insurance companies in places like Iowa are boring places that don't attract talent. So remote work is a compromise of their industry.