The flight attendants don't clean the toilets during the flight. They may do some tidying up but it depend on the carrier. Probably something to do with the hygiene during the flight because they are also serving the food.
Maybe they could switch clothes and scrub themselves well, but it seems that it's not just done.
I think they can have one crew dedicated for cleaning. Long flights might save extra amount on transit fees and other charges for shifting luggages etc. They can use that for additional crew!