Yes this happens, but should it be the case? Is this something you morally support? Should people be fired for smoking weed in their personal time? Posting on social media? Making a joke to a friend? Donating a political campaign?
People have been fired for these things but I don't think it should be lauded. I don't think its healthy for companies to monitor their employee's personal life, so they can punish them at work.