This would be illegal in Germany, where it is legally required that there are 11 hours of resting period between work days, or work and school. So students and workers can not work later than 9pm if they start at 8pm on the next day.
Oh wow, it’s still a thing: https://www.nj.gov/labor/youngworkers/find-a-job/working-pap...