Centrally planned economies have been tried. The Soviet Union discouraged a lot of research into areas like psychology that they saw as pointless; artists had to conform to traditional styles. It didn't turn out very well. Letting the market allocate resources has a lot of inefficiencies, but it works better than any alternative that has been tried.