Second, like any other white collar job, your earning potential is heavily backloaded. An early career software developer doesn't really make a lot of money. Even assuming that you are good, you well be well into your forties before you start making the big bucks. In the meantime, you'll be earning significantly less than your peers.
Third, you could really screw up your WLB if you don't choose your employer right. People with non-traditional background often end up in terrible companies which use developers as expendable labor in stead of investing in their growth.
I highly recommend that you explore opportunities in software development, but be aware of the challenges.