Trump can do that, but we all know SEC and insider trading laws DO NOT apply to congress. So while it is shady to us and criminal for us to violate SEC rules, those rules do not apply to congress members. If the law does apply, the congress ensured loop holes to get around it.