It is not possible to embed gas pipework into a wall. It must take the shortest route through i.e. one side to the other. Otherwise it can be ducted, a very expensive option just for a cooker. It may be possible to reduce how much it protrudes but generally that's that. The cooker usually accomodates this by design. There may be protrusion at the front slightly. :-) Rodal Heating.