This is not a viable option as it should not be tied into a waste or vent stack and does not meet Plumbing code compliance
An AC drain should be run to the exterior of the house and dumped onto ground level or can be installed in a French drain setup