Quite frustrating when people imply that 'anyone' can do it and all you need to do is watch a few YouTube vids, do an online course and you'll be minted.
I work for an ERP software and consulting business on the consulting side, not software as, although I have a BSc (Hons) in maths and IT and am a competent coder, I joined as a former supply chain director rather than a techie.
We employ quite a few programmers across several offices around Europe and, without exception, the best ones we have, writing the most efficient and technically competent code, are the maths and computer science grads. These are the people we are paying extremely well and have to fight to keep due to the competition to employ them.
Absolutely you can learn at home and indeed might well turn out to be a good coder, have the right aptitude, be lucky and get a good job but, IMO, it's worlds apart from the top-end elite programmers out there.
This is not meant in anyway to wee on anyone's chips, so to speak, but I don't see it as any different to a lot of other 'get rich quick' employment scenarios. If you are good you'll get on but it's not a magic bullet and many, many people can't and won't ever do well or earn good money (£50k+) at this.
Not that many years ago it was "become a plumber and earn £100k with a few night school courses!" etc, etc.
Just be realistic...