How does the plumbing work for that? I can't imagine it passing plumbing regulations in most countries. Even having a grey water system is tricky under most regulations (the reason for this is the slim chance someone could misconnect a potable system.
Along with the problem of getting the water into the machine, the soap from a bath would damage the machine.
Front Loaders require low-sudsing soap, and you have to be very careful on the type of soap, because many types tend to precipitate onto the inside of the machine.