It is similar to the way the communist party operates in the PRC and the former Soviet Union.
Actually in China and the former Soviet Union, the centralized government controlled party would pick the delegates.
In WY and CO it's the non government controlled Republican party that allowed in the rules any person to run as a delegate at the precinct level.