Distortion from heat is a fact of life. Even if you could heat & cool uniformly like in an oven there are no guarantys on how true it will reamain.
Depending on the tolerance of the fit needed you could machine a solid insert (plug) to put in the fitted area to prevent the bore from shrinking but it will not be easy to remove and you will need to keep it relatively cool compared to the work.