Every clever scheduling algorithm or trick that people try applying to "fix" this situation feels like a band-aid solution. It begs the question, WHY are so many people taking jobs that they know will destroy their relationships with their family and friends?
That immediately takes the subject to the unpleasant conversation of "rent", which has shot up dramatically all over the world in the last few decades. I'm honestly no longer convinced that the systems we have for property acquisition nowadays are actually any better than homesteading. We pay taxes so the government can defend property claims; except 90% of people don't own much at all, so we are basically paying for rich people's security guards.