That would be problematic.
Prostitution is illegal in Thailand, so who would want to provide an additional measure of traceability for such transactions ?
I hope cash does not disappear in Thailand. I'm reasonably optimistic on that front, since no cash means no brown envelopes. The only people who could take bribes safely might be those so far up the system, they think they are immune from prosecution.
Traditionally, I've preferred cash for all face to face transactions. Except where I want the additional protection from a credit card.
However, I've really been letting it slip in the covid era. In the UK, my only cash transaction in October has been for a massage. Likewise in September. Even there, I think I could have paid by card for at least one of them.
Contactless debit card transactions are way too easy. Wave the card at the terminal, money debited, with a record on my account and an instant notification. Far faster than some of the QR transactions that I have had to wait behind in Thailand.
I must get back to paying by cash more often. I don't want to be in a situation where the authorities can trace every transaction. That would make it too easy for them to invent new taxes and interfere in other ways.