He keeps playing football despite all his injuries. I guess he's a 'glutton/sucker for punishment'. [=he is attracted to pain, suffering, difficulty, etc.]
These hiking boots are tough enough to take any amount of 'punishment'. [=the boots will not be ruined even if they are used very roughly]
The 'punishments' that the government has inflicted/imposed on the protesters are severe and unjust.
(..) Do you think I'd make my sister a widow? I'm godfather to your son, Carlo. Go ahead, drink, drink. No, you're out of the family business. That's your punishment. You're finished. I'm putting you on a plane to Vegas. Tom. I want you to stay there. Understand? Only don't tell me you're innocent. (..)1972 The Godfather