Expressing a political opinion is not a violation of the Hatch Act, nor is it a violation of Army policy. A 2 minute google search would have gleaned that if you were interested in the answer. The relevant cite if you’re curious is AR 600-20.
Electioneering is, though.