While the electricity system may well work okay sideways - except for that danged requirement to have the breakers operate other-than-vertically-down-to-'ON' ... which some will now be ...
... and the plumbing supply system probably will not be affected on the horizontal ...
... one needs to take gravity into consideration for the drainage system operation ...
