@Milan *******
it was a while ago as since 2019 in most of the land transport office you'll need a certificate of residence for get the DL, then I want to add that if you need to check in in my hotel showing a passport as a foreigner visitor is mandatory as we need to fill the TM30 form. So again saying that travel as a foreigner in Thailand without your passport I doable can be right, it is a good idea? Certainly not.