Not police nor have I ever been but working within the legal profession I take an interest in these things.
The non legitimate contact will be solely for Police Personnel and not me and you. The issue is that the Police Service and Public Organisations as a whole have a view that sex workers are all trafficked girls from Eastern Europe, South East Asia or South America. Consider also that a Police Constable is not a job but an office holder, holding such office puts restrictions on your personal life such as not being able to be part of some certain groups or having certain business interests.
The contact is non legitimate as the Force will take the view that the officers in questions will be encouraging human trafficking, despite the fact that a good number of women do this as a legitimate profession. The argument can be made its outdated especially considering the amount of MP's who partake in this hobby.
Secondly is a black mail risk. If said officer was engaged in this, the provider found out their client was a member of the Police they could threaten to expose them but then say I won't if you're willing to provide me information on certain things or people.
In addition the main view from the Police as an organisation is that sex workers are either trafficked or have serious addiction issues meaning they are vulnerable and for a Police Officer to use their services is not compatible with their role or the services values and ethics.
And finally after the whole Wayne Couzens incident anything like this is stamped down on big time. Career ender no matter what rank you are.