If you force them to dock (on a prison or anywhere else) then they are subject to the same 4-hour timeout as exploding the ship. However they will have to undock in order to leave the system, and you'll see them do it. Fiction-breaker. Also a lot of pirate types don't have a capture mode, its run or die with them.
basically the idea is untenable unless its scripted on both sides