On the other hand, there are virtually zero homeless people in Japan (certainly outside Tokyo) while they are seemingly everywhere in every Western city...so perhaps the quality of the bathroom accommodations aren’t really the point. I think you’re closer when you talk about cultural attitudes to “home”, but I’m not referring to some hokey ancient wisdom of the Far East.
The fact is that it’s perfectly fine, even normal, to live in a “one room” in Japan. No one is going to shame you for it.
I actually think some one-room apartments are super cozy, and feel like nice dorms.
If you consider sento/public baths, you’ve got your shared public resources.