USE A GRAVITY BONG!! NO SUCTION!
I agree - vape bags or a gravity bong to keep suction out of the equation. Want to add a warning - coughing sessions are dangerous for the healing wounds, as the vibration is really violent in the jaw area even if you try to stifle it.
Essentially I recommend lots of small hits so one doesn't cough at all.
Do these things and its no trouble to medicate while recovering from oral surgery.