This mod allows you to build a gibbet called a crucifix, which can be used to "hang" alive pawns. It has the same functionality as a bed, though it is not something you should find other pawns sleeping in - in other generated settlements. It also has a terror value of 10% - not as strong as a gibbet cage but still completely useful. The comfort rate is -80% with a surgery success chance of close to 0%, so there is no point in using this as a bed for your own colony. It can be made out of wood, stone, or any stonetype.
You cannot "crucify" raiders directly, they must be made into slaves/colonists first and then incapacitated so you can hang them on the crucifix (you can also harm them on the crucifix). A fix for this would be to download any mod which allows you to place prisoner beds anywhere, OR to use a mod which lets you build invisible walls (sorry no fix for this).