No...not even close...prostitutes are much better in bed and much cheaper to maintain.
Its remarkable prostitution remains a booming business despite the sexual revolution. Given its relatively easy to find a woman to sleep with you without commitment, one would think prostitution would suffer.
However, a man really doesn't pay prostitute to sleep with him, he pays her to GO AWAY. That's why you pay at the end.