Firstly your first three pics show posts going down to the ground then the next two show a wall with posts on the other side, perhaps some photos of the whole fence might help explain things .....
But on to your proposal, are you saying you hope to hook the rotten post ends out and then cast...