DoDI 1325.06 addresses off-base demonstrations by service members. LINK https://www.esd.whs.mil/Directives/issuances/dodi/.
MARADMIN 662/19 regarding engaging in political campaigns and activities.
ALMAR 008/17 provides guidance, generally, for Marines concerning unofficial online activity that has an adverse effect on good order and discipline within, or brings discredit upon, the armed forces.
Violations of the above-referenced guidance may be prosecuted under the UCMJ to include, but not limited to, Articles 92 and 134. Additionally, Marines must recognize that the UCMJ also specifically prohibits Contempt toward officials (Article 88), Communicating threats (Article 115), Riot or breach of peace (Article 116), and Provoking speeches or gestures (Article 117).