Older laundry tubs drain the washing machine leaving dirt and soap scum stains.
Drain utility sink into washer standpipe.
A standpipe is a vertical piece of pipe with an elbow on the bottom.
If you can install your washing machine in the garage and next to a utility sink then yes you can let it drain into the sink.
Buy a t shaped pvc joint cut the standpipe insert the t so that the cross is vertical.
This is the new pvc drain pipe.
The elbow remains filled with water preventing sewer gas from backing up into your laundry area.
If the washer standpipe is pvc and the sink drain will be pvc of the same size the connection is easy.
You may need a special drain hose depending on the distance of the washer to the sink.
You can install a bracket or wire ties on the back of the sink so the washer drain hose is permanently attached to the sink.
I will be putting the utility sink in the empty space between the dryer and the white wall in the picture the washing machine is immediately to the right of the dryer.
The original copper pipe was 1 1 4 and the new pvc is 1 1 2.