I think that how harmful it is depends on the society in which it takes place.
I mean, everyone who works is a prostitute in the more abstract sense. We are all renting the use of our bodies for money. The only difference between me and a sex worker is that I'm renting my body to someone to be used toward a different purpose.