Sorta? I say this only speaking for myself. Given the option between a jail or prison sentence and receiving corporeal punishment I would take the latter always. I draw the line at anything that causes permanent harm or actual torture (which is an "I know it when I see it kinda thing.")
Things that would be absolutely miserable but I would do.
* Physical exertion like having to run suicides.
* Being forced to stand in an uncomfortable position hours.
* Being belted/caned/shocked so many times.
* Forced labor.