In reality, you'd realize it was horrible, but orders are orders, so most people would do it. If they found it particularly objectionable, they'd just look for another job in the meantime, but most folks who are not financially independent wouldn't take a stand for it.
Middle management has to educate upper management on why certain metrics are bad. I do it all the time. Most recent one was length a PR was open. Some of my better devs opened PRs earlier and left them open for feedback longer, and I didn't want them penalized, so I communicated (with data) to management that it was a bad metric and we no longer measure it.
I disagree. The point of a boss is to squeeze as much productivity as possible from contributors in order to meet business goals. If they do that as a humane understanding collaborator or as a micromanaging tyrant depends on two factors: what kind of person they are and how much leeway does upper management allow. If a boss is of the 'telling their boss to eat shit' variety, they're usually not going to stay a boss for long..