As others have said, you will not be able to walk into a highly paid career as a coder or as the latest MN meme of cyber security, free online courses offer the bare minimum, same as the gov or the basic A+/N+ type exams.
There is huge competition and whilst the job being 'sold' of work from anywhere with high wages is achievable it requires a lot of experience with a lot of competition, and more often than not you will be entering at the lowest level to build experience.
ChatGPT/AI is also going to make a lot of low level dev jobs redundant as it can already write low level procedures with related functions and classes at a very clean level and write the unit tests around it!
If you want to go down the Cyber security route (as it is the latest to pop up all the time on these threads), you can take the exams which will get you a foot in the door but you will need to spend time on real systems, and the usual route is via helpdesk, so you will be spending a few years sorting out printers/general AD admin before you get loose on the domain controllers and firewalls
That's not to say don't go for it or to rubbish the idea, but be aware that it isn't the road to riches that it is often perceived on MN , I work in tech for one of the big four, I write algorithms and work with petabytes of data. I don't have a degree and have worked myself up to being senior and have been a champion for bringing women into tech for a good few years now, one thing I always highlight is that the job isn't as glamorous as the shiny LinkedIn/Tiktok posts, it is often mundane and frustrating, the burn out is a huge factor.
Look for what transferrable skills you have to bring into an IT environment, but be aware that making a full on career change to chase the money is not going to be simple process, especially if you have commitments.
I am not trying to shit on your dream, and I have waffled somewhat, english is my second language and had a glass of wine :)