Thats how self-contained boats and houseboats do it. And then, on unfortunate occassion, if one forgets to pump out the holding tank for black water, the above-waterline vent looks like the chocolate shake machine at McDonalds when someone flushes.
I don't know this from experience; only something that I have heard...