It is just barely conceivable, though it seems to me highly improbable, depending on how Pennsylvania’s rape and prostitution statutes, and other laws and legal precedents relating to consent to sexual acts are written, that this is a correct applicaiton of the law.
It does oddly remind me of an amusing case from California a few years back, in which a dispute broke out in a bar. One of the parties said something to the effect of “I’ve got a gun, you’ve got a gun, let’s go outside and settle this like men.” The other party agreed, they went outside and shot at each other. Prosecutors were much chagrinned to find their murder charge wouldn’t stick: because the two men had agreed to shoot at each other, an agreement to which there were many witnesses, the survivor could only be charged with dueling—which as I recall carried a maximum sentence of two years imprisonment.
I think I saw that story on TV. The guy that was killed was wearing a black hat.