We could argue back and forth all day about whether anybody should be reprimanded for *legal* business or lifestyle decisions they make when off the clock, and that's quite separate from the issue of what (arguably antiquated?) criteria we are using to deem certain types of *legal* activities to be "immoral" or "bringing the profession into disrepute".
I think people should be free to do what they want, but discretion is the watchword. In reality, maintaining a respectable public image is often incompatible with sex work (or kinks, or polygamy, or drug/alcohol use, or anything else people should theoretically be free to do behind closed doors), and I can see why the public sector in particular is hot on this as they are ultimately beholden to the taxpayer.