A planned economy has been tried. However, even after removing all market mechanisms, corruption amongst the party managed to shatter the union.
As much as Deng is hated, he managed to set the foundation of a mixed economy, which, as we can see by the great growth of China, was probably the correct thing to do.
Later adaptations by the CCP managed to incorporate precautions to prevent internal corruptions, and furthermore, bourgeoisie corruption to avoid the dissolution of China and shock therapy.
Furthermore, after the dissolution of the USSR, many communist parties followed China in pursue of a mixed economy, leading to growth and the betterment of society as a whole.
That’s not to say that China doesn’t have its flaws. Particularly in its neutrality and lack of action internationally.
From my understanding, the accession to power of Khrushchev was a wake up call that prompted the Chinese to examine not only Khrushchev’s revisionism but earlier mistakes from before Khrushchev as well. Before that, China had a tendency to just do what the USSR recommended them to do with minimal consideration like most of the socialist block was doing.
But someone more read than me on the PRC’s history would be better able to tell you about these events than I can.