If you are in the USA, rule 10b5-1 of the SEC [1] "allows insiders of publicly-traded corporations to set up a trading plan for selling stocks they own". Despite the description in the link, as I understand it you can also buy more stock as long as you announce it well in advance. It is explicitly meant to allow people who cannot avoid having non-public information about a stock to still trade in that stock. By forcing them to publicly announce well in advance what they intend to trade and when, the idea is that they then cannot do the short term high risk trading that you need to really profit from insider trading.
https://www.investopedia.com/terms/r/rule-10b5-1.asp