Coercion of any kind is never "right or acceptable," except in self-defense. No neighbor, no collection of neighbors, no "government" has any right to compel me to do or say, or to not do or say, anything against my will - once again, unless I am harming another.
Such irrational behavior is also a violation of what Jesus called the second greatest command: "Love your neighbor as yourself." 😄😇😄