Your assessment for an open system operating at steady state is correct provided that you add or remove the exact amount of heat necessary for the exit pressure of the gas to exactly match its inlet pressure. The gas not being an ideal gas is irrelevent.
The change in enthalpy being equal to the heat added is correct only for an isobaric process in a closed system.