Sacred Prostitution goes all the way back to the beginnings of Civilization. Only in post-Roman Empire times have the Christian church elders had a problem with the idea.
Consequentially, I think the precedent does exist for this type of practice.
Link to Article