Makes sense to me. Article 134 under the UCMJ covers general misconduct, making inappropriate online actions such as offensive posts, hate speech, and unprofessional comments punishable under the UCMJ. At very least add a non-endorsement disclaimer for anything borderline hostile on personal accounts and don't use official accounts. Service members have extra rules to follow and they signed up for it. Do not pitty them.
Additional details [1]
Pete Hegseth tells Pentagon staff to hunt for negative Charlie Kirk posts by service members
That title is too long to fit on HN so I did the best I could with the title. I'd rather have used the full title but it wasn't an option.