At the same time, I'm sure that official brothels were organised by the British and the French armies (if not all) at least in WW I. Robert Graves describes such in his memoirs. They were of course either for officers only or for O/Rs. I believe that during the Napoleonic Wars you had to organise your own.
Cheers
C