I wouldn't do it for a whole host of reasons. It would not be vented and you are putting a lot of faith in the pump's check valve.
Discharge it to a bar sink or a utility sink with a nice big air gap if it's freezing up.
Or get a nice high loop on the existing line so that it siphons clean when the pump pumps.
That will mean there is less water in the pipe to freeze up.