Except for one little detail: you didn't have a wife and children, and that more than anything made it possible for you to identify that half-hour here and hour there that allowed you to make your move.
Having a wife and children has a huge impact on the amount of time available just to get through the things that have to be done and it is very well possible that at the end of all that you're left with too little time rather than too much.
In either case it seems like programmers make enough money to save up living expenses if they only lived like people in blue-collar professions. I saved enough money from my summer coding internship for many months runway easily. ($3000 a month from my internship plus a $3000 stipend; both after taxes; $1000 a month estimated burn rate based on $750 a month for rent and utilities and ~$5 daily food budget by buying all of my food from the dollar store.)
I have a very modestly successful small business, built over the last five years and change. At all points over that interval, I had sufficient income to maintain a wife and children to a standard of living commonly accepted among middle class folks where I live.
There are other options, such as "Transition from full-time salaried employment to contracting/consulting/etc, make a lot more money than you do right now, buy time with money."