Yes, but it would be better if you provided a conduit for the waterline.
Basically, take the next larger pipe size and run the waterline through that. This allows the waterline to move a little, and it’s easier to replace if needed. Of course, if you have a number of turns in the pipe replacement becomes difficult anyways.
