This is actually a thing in Japan. A number of real estate companies manage “share houses” where 10-20 people each get a ~9sqm room, with shared living space, kitchen, bathroom, etc.
While I’ve never lived in one, the few times I’ve seen inside, they’ve been in incredibly clean. People I know who’ve lived in these places generally have nothing but good things to say about them. They’re often not cheap, though. From what I’ve seen, they’re usually in central locations, and priced more than a similarly sized room with your own kitchen/bathroom out in the suburbs.