If your boss is bad, you are still going to be working extra hours. Timesheets DO NOT PREVENT extra hours for computer programmers (unless there is also pervasive surveillance, like in the worst consulting shops).
Look, I've worked in a few places with timesheets before. In one place, there was a "no overtime" policy. All this means you always put 38 hours on your timesheets, no matter how much time you actually work. Worked 57 hours? Well, you put down 1 hour in your timesheet for every 1.5 hours actually working.
So I am sorry, but your idea is super naive. It's not going to work. It will make life worse, but will not provide benefits.