Sure, sometimes. Certainly against the people applying force.
I am definitely not suggesting this approach will help, it seems like a ridiculous solution that's all about exploiting performative compassion for the sake of the hacker's egos...
But I also disagree with your statement as a blanket claim. Kids are forced to go to school and while they'll be resentful of the system or their parents or their teachers I haven't really seen kids being resentful of each other and certainly their peer group develops social cohesion and empathy for one another.
Everyone forced to do community service doesn't necessarily resent the people they are helping, they resent the judicial system.
At least, that seems like the rational response to me, it would be incredibly petty to resent some kids you take to dinner just because you're doing it due to blackmail. Resent the blackmailers...