Mike Wang has confirmed that multiple times over the years on this forum. The dimensions of 2K's courts and 2K's player models are scaled to their real life equivalents.
The primary problems that make 2K's courts feel too small during gameplay have to do with the player speeds being too fast and the pass speeds/animations being to slow.