Maybe, in the same way that industrial safety regulations violate our freedom to work in whatever environment we want.
But heck, even pilots can work a 40 hour week (of actual flight time). I am not sure if there is even a hypothetical union that would limit work time to such a degree (<30 hours).
My straw man is burning.
Those regulations coerce employers into treating their employees well (which is not bad[1]). If you were to privately, in a manner that did not put others at risk, conduct an experiment in your backyard that violated those very safety regulations, I doubt you would get in trouble for it.
[1] It's not as bad a thing for government to regulate how individuals treat each other, as it would be if it regulated (passed laws around) how an individual treated himself/herself.