“Uh...yes it is.”
DUDE, everyday insiders buy and sell their company’s stock .... all legal.
They can only do it legally if they are using publicly-known information. If the information they have is only privately-known by themselves or others with in the company, then it is illegal. If you have doubts, ask Martha Stewart how her time was in prison.