You are correct . Every inch of available space is utilized . There are some very beautiful parks / spaces in Tokyo and still a few sections where you’d think you were in the countryside : quiet , green , peaceful ...But alas , they are getting scarcer as the megalopolis continues to grow .
Their apartments are quite small, when you learn that people will pay to pet a cat for twenty minutes it should say something about those tiny living spaces.