Selling sexual services is not illegal, but:
Communicating for the purpose of selling, advertising, or receiving material benefit from others in certain contexts can be criminal offences, depending on how and where it happens.
So, if your friend advertised on platforms like LeoList or OnlyFans...