There’s a book I read that takes place in Faerun where a cleric is getting tortured by ogre clerics by having his limbs broken and then they use heal spells to heal his limbs at odd angles. After he’s freed, they break his limbs again, heal them in braces, but he had a permanent limp
DnD healing can only do so much before its just some high power reality changing magic.
The best punishment is undoing their damage and teaching their sins to future generations as a warning.
And using g their Graves as a gender neutral bathroom when we wanna scratch the sadistic justice itch