You can be fired from the company for breaching any employment agreement or any policy. But That doesn't mean - noncompete agreement cannot be forced.
Else, all employees will find a way to get fired from the company and avoid noncompete agreement.
Else, all employees will find a way to get fired from the company and avoid noncompete agreement.