How would you do something like those sewage pipes I think glueing wouldn't work on something so thin. My best guess would be to just push it into xps foam. So basicly finish the wall, paint the pipe, let everything dry and then push the pipe into the wall?