While the Iron Maiden wasn’t around back then (I think the 1st one didn’t show up till the early 19th century), its compatible to an actual torture/punishment device called the Spanish Coat.
Either way the Witch hunts were fucking brutal and cruel. I have nothing but sympathy for the people that were tortured in the name of religion. Religious extremism is terrifying.