I have certainly worked with more than one person at my workplace who started when they lived locally, but eventually moved to the big city over an hour away, while retaining their employment with the business even after settling into their new home. Them suddenly working 2+ fewer hours each day would be a significant change to their employment.
If the time is set in stone at the time of first hire, then I guess you're incentivized to move as far away as possible that still allows you to be hired, and then on your second day move in next door?
So now you need a tribunal to verify the claims, and what do they go on? With respect to a parallel thread, do the people with the right machining equipment in their garage get to do their manufacturing job at home? If I have a kitchen, can't the Uber Eats driver pick up the food at my place?
Or is the law only carved out for senior web developers specifically?