This is a real thing that really happened. Now, they were supposed to be looking for suspects in the Paris terror attacks, so as hot as it may have been it's also gross misconduct. That said, I think there's rich potential in a pair of horny policewomen trying to get away with naughtiness on the job. Helping the boys in the SWAT unit relieve stress, rounding up some of the local hooligans where they can tire themselves out, etc.
"a makeshift barracks for soldiers..." / I wonder if it's only petty misconduct if everyone was off-shift. That said, a number of ideas could spring from groups of armed first-responders being thrown together in a high-pressure situation where they can't go home but all have to bunk in close quarters, maybe even using unused detention cells. I must confess that "a pair of horny policewomen" makes me think first of Kei and Yuri, the Dirty Pair, whose on-the-job results tend to amount to demolishing parts of cities and planets. Or a riff off Cagney and Lacey, I suppose, the policewomen buddy TV series.
Maybe make one of them gay and the other straight so they can't satisfy each other but also won't be competing for the same guys?
There was a scene like that in Armistead Maupin's "Tales of the City" where a pair of straight + gay buddies go cruising with the cheerful thought, "Let's break up a couple!"