Markets are nowhere free since they are always defined narrowly by state and international laws. What china doesn't allow is capitalism but handling a state-planned market doesnt seem to be that hard.
https://chris-said.io/2016/05/11/optimizing-things-in-the-us...