The automatically cleanable bathroom already exists. I have used them years ago in cheap hotels. After taking a shower, it locked the door once you exit and it rinses the whole room with some detergent and water for 30 seconds.