No. Well at least in capitalism, that is a big no. There are no barriers to entry or exit the market in "real" capitalism (which no one has or has seen). This includes non-competes as it does any other barriers which distort the market.
But none of that matters when most people still don't understand profit vs economic profit.
But none of that matters when most people still don't understand profit vs economic profit.