Never attempted it personally because I enjoy stripping them, healing them and then after they recover from the lost lungs and kidneys turning the AC down to negative 30 Fahrenheight and watching them pay for the sin of attacking my colony, but can you befriend a pirate faction the same way as you can befriend other factions? IE releasing healthy prisoners?