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.
Self-cleaning public toilets, that worked exactly like this, went through a bit of a phase in Australia 10-20 years ago. They started decommissioning them after they began trapping children during the cleaning cycle: http://www.theage.com.au/news/national/auto-toilets-a-flush-....