Is this forbidden by the Constitution as a cruel and unusual punishment?
That's primarily but not exclusively referring to criminal cases.