Yes absolutely. It doesn't violate dwarf ethics to pull a lever, so all you need to do is hook up your instruments of torture to a lever and then you're golden.
Drowning, burned by magma, impaled by spike traps, smashed by a minecart, you name it.
Dropping a dwarf into a room full of upright spike traps made with wooden training spears hooked up to a repeater would be pretty slow and painful. If you had say 2/7 or 3/7 murky water in there from a murky pool the blood would mix with it and possibly also cause infections. I wonder if you could also get vomit mixed in there too somehow, maybe If the torture room had a skylight and you tossed a cave-adapted dwarf in there?