Yes , it is a common practice but pipes need to be properly sleeved/covered with appropriate tape and a pressure test need to be done before burying the pipe work to make sure that there is no leak. You can also you can route up or a through a wall keep them clipped and secure.