There are optimum codes to use, such and Gold (GPS) and Walsh (IS-95 CDMA), but they still have non-zero cross-correlation, so your users are limited. Still no free lunch.
Point being, the obstacles are regulatory, not technical.
4G & 5G uses OFDM, essentially distributing the data over slow, narrow band channels to get around the multi-path issues with trying to use even wider band CDMA. Then MIMO to actually increase the capacity, which only works when you have multi path.
This gives a good summary, specifically page 32, but CDMA is essentially dead soon.
Channel capacity is not the problem. Do you own a radio capable of VHF/UHF reception? Turn it on. Tune it to a randomly-chosen frequency between, say, 600 and 1000 MHz. What do you hear? Now, repeat this exercise 5,000 times, and let me know how many of those iterations yield anything but white noise from your receiver's own front end and IF strip.
There's your "channel capacity."
This problem is purely regulatory. Everything should be frequency-agile at this point in time, but it's not. Never mind CDMA or TDMA, we haven't even picked the lowest of the low-hanging FDMA fruit yet.
https://www.reddit.com/r/amateurradio/comments/49yuwx/til_gp...
The whole idea behind SS and UWB techniques is that the noise floor is under your control, rather than Boltzmann's.