Running a washing machine drain into a sink drain
I am relocating my washer and dryer to the 2nd floor where the builder originally intended them to go. The original owner had them moved before the house was built so there are no rough-ins. However, the closet I want to put them in backs up directly to a bathroom and has easy access to the bathroom sink base. So I want to just punch through the wall from my new laundry room into the sink base and use that drain and supply lines for my washer. The laundry room would have a regular WB. I have seen this type of setup used before where the washer is plumbed into the same drain as the laundry sink. The sink drain is 1 1/2".
Can I do this? Can I just get a Y adapter for the drain (which comes out of the wall) and use one side for the sink and one side for the washer, each with its own trap? The washer is an HE unit if that makes any difference.