Can I connect a drain for my new washing machine to an existing toilet drain?
You can tap in to the existing stack to drain, the only issue (like bcworkz said above) is you need proper venting. If you were to tap in to that stack without a vent, you could potential pull the water out of any traps above (via suction).