What is this, and I can pump my dehumidifier water into it?
Should be fine.  All HVAC equipment that make condensate drain into risers just like this, no need for air gap because the source of the water is not connected to the potable water system in the house.