It should be put through your local authority, but if you have a drainage under the washing machine it is possible. It's not possible to run the toilet straight into the wash machine drain.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.