Of course you can. I will freely admit I have a huge mouth because I just say stuff when it needs to be said. I do a lot of filtering, but I'm not going to hide behind some fake you must be nice all the time thing. No one is like that 24/7.
But the truth is not everyone will accept you wholly. You've already seen that in action and honestly..the advice you get about it is spot on. She will do the exact same thing she accuses others of doing, cry foul, say you're the victim, insult you in some manner and then get you in trouble for sticking up for yourself. Totally not worth even taking a stance on it.
Just ignore it from the get go. You will be much happier and it's just easier that way.