Yes if you use the spring loaded CNCRP style.It is true that rack & pinion drives are quite easy to integrate.
One of the reasons I pursued a different path is that I am
not comfortable with their power transfer situation which
creates different load conditions for one direction and the
other. I also wanted to avoid protruding motors.
I'm using helical racks with the pinions mounted to a gearbox, that's rigidly mounted in relation to the rack.
This eliminates the all the issues associated with spring loading.
But it does require a machined rack mounting surface parallel to the linear rail mounting surface, and you still have the motor sticking out, potentially even further.