In regard to housing - I assume it's approximately the same all over the world.
https://www.nytimes.com/2023/09/11/opinion/editorials/tokyo-...
By the way I still doubt it's so affordable there that I myself would consider it affordable. I would after hearing the majority of people who are homeless or live with their parents saying they seriously just prefer living this way.
I consider Japan to be a great example other countries should learn from in a number of ways though.