Can a shower drain be added to this existing washing machine drain?

The pink pipes in the diagram would be new?

Thanks

Mike

Name:  UpstairsBathShowerDrainPipes.jpg
Views: 683
Size:  11.2 KB