Is it allowed to engage in independent activity that is directly competitive with your employer if you have their permission?

Is it allowable to engage in independent activity that is directly competitive with your employer if you have their permission?

yes, it is. It is not in best recommendations though