I think I can see the target here - you want to build a pipe bore scanner that has a travelling head on a support that runs up and down the centre of the pipe?
You want to control the vertical and horizontal position of the scanner within the bore?
If so then its an interesting project

In my mind, X axis is the scanner head, Y axis would be towards/away from centre of pipe, Z axis is up/down from centre of pipe. This would be with my view having the pipe running left to right.
I would have my X on a removable support track, probably belt driven or nylon rack & pinion for weight saving, this would simply sit in two supports, one at each end and have both ends running slaved Y & Z motors so they track each other and keep the X axis / scanner support true to the bore of the pipe.
Am I following?
How big is the pipe?
It just sounds like two vertical X/Y tables facing each other and running slaved motors on both axes, apart from the mechanics, probably quite easy to do?
Obviously all we need is a travelling linear device - could be a trapezoidal screw in the vertical plane running on a linear rail, doesn't sound like there is a need for any serious rigidity or speed here. No idea how fast the scanner runs though??
Just thinking out loud
