With the advances of modern medicine, how long could a victim be tortured, healed, and tortured again?

There’s this kinda-adjacent thread from 3 weeks ago.