Yes, if employees of the state. Just as I am in favor of allowing my employer to control MY speech on the job.
I cannot swear at fellow workmates. I cannot tell customers to f@@@ off. Y’know, that sort of stuff.
So let's just imagine your personal preferences into the Constitution. That's how the left does it.