Yea that's very true, living a life that's morally upright and presentation before anyone on the social media is one way to avoid unnecessary issues at work.
Even though some employer too can overdo and misinterpret some things seen on our social space.
Actually, not just our employers, people generally most times misinterpret things and that’s one reason why we should be more careful.
The social media is a social platform, you have to interact with people once in a while and these people most times see you for what you are by the things you post even when sometimes we do them just for fun.