as someone mentioned above, in the long run it's impossible to do any intense work with kids under 6 in the house, you end up either neglecting them (probably by giving them an ipad to stare into for hours), or you end up neglecting work by doing activities with the kids.
Above 6-7 yo they are obligated to go to school, unless you homeschool, which is also incompatible with fulltime, good faith employment.
Schools don’t run the entire workday nor the entire work year. Especially if you work at one of those employers that likes their employees to work long hours, with “unlimited” (i.e. zero) vacation days. But that’s a somewhat different social malady.