Are you allowed to post political content on your socials?

I haven't started teaching yet, I still have to finish my degree. But, I'm very into politics and the majority of my posts on social media are related to politics. I understand how teachers being openly political could be a conflict of interest, but if I were to private my accounts and not disclose where I teach, would it be okay? I still have time so I'm thinking ahead here but the thought came up and now I'm curious!