It seems like unprofessional and immature behaviour.
I would expect that gossiping and texting about passengers would not be approved by KLM. It is one step down from posting stuff on social media.
But, in reality, there is not much that can be done to stop this sort of thing.