Dual nationals entering on a foreign passport is a tricky area. Refer here -
**********************************************************************************
- my reading of what’s there is that basically if she’s born Thai, as of 2023 she won’t be treated as a foreigner even if she enters on her UK passport, as long as she can show her Thai ID on request. However, it seems that a naturalised dual national can lose their citizenship if they try to use their other citizenship in the Kingdom (including to get in). (Disclaimer - I have no personal knowledge or expertise of this area, just re-stating my reading of the link).