My experience is that SIM card providers (at airports) will take a scan of your passport before giving you a SIM card, so they are probably already in compliance.
They have to I believe by law - foreign tourists (not sure about non-tourists my sim is older than the law) also get different sims apparently. I’ll see if I can find a link about it.
Edit: to clarify I don’t think the two are linked specifically - most services/purchases like this in Thailand require some form of Government ID. For locals that’s usually an ID card, some places will accept my Thai drivers licence others want passport.