Blue collar work is better in that regard; you clock in every day at the same time, do a job that doesn't involve computers, often optimized for output so you don't have many lulls of activity, take breaks when the bell goes, and clock out and shut work off completely once you're done.
Meanwhile IT white collar work, especially WFH, requires a lot more self-direction, and since for most people in IT their entertainment is also digital, the boundary blurs by a lot.
Part of me wants a blue collar job.