We're wondering if we can install a water softener here. Our water softener is like this.

Would we be able to put water softener's drain line into that pipe on the right?