Yeah, but it'd be easier to keep track of them and easier to get to the prisoner in case of a plan to escape if there was a redstone system to enter the obsidian box or if Sam had an enderpearl (I know he had some) he could easily get to the nether void.