code will vary depending on your location, BUT... this is a VERY bad
idea even if for some reason it isn't against the code. If you were to
do this, I strongly suspect that you and your family would soon become
an unfortunate example for the local authorities to update the codes.
Just hard pipe the job the way it should be done, please. It'd be a
shame to read about this in the news.