I would not recommend to try this. When you use undistortImage, some information might get lost due to the process. If you now try to reverse it and then use another undistortImage you might end up with false data due to the overall reprocessing of the images.
If you have the original images just reprocess them, if you overwrote the orginal images with the undistorted ones then its possibly better to just make new pictures and use them.