Washing machines pump water out at a pretty high rate. I don't think a drain with a P trap immediately below it and no vent above it will work.
That's 1.5" pipe? I wonder if you could bust out enough around it to put a Fernco coupling around it, extend it upward, and tie it into a vent... Of course, then you couldn't service the HVAC unit.