I sometimes add a "tax" to the estimates of unrelated tasks, and use the extra hours to work on tech debt, unbeknown to upper management.
Not particularly ethical on my side, but... I'm the one that gets paged when things break down at night or on weekends, and I don't care that upper management doesn't care about that.