@Ian *******
Yes, if you flew straight from Thailand back to your home country, that might be fine.
But most of what immigration checks is tied to your arrival details, like the TDAC. It logs the country you departed from, and if you’ve submitted multiple TDACs they can see that quickly.
They usually cannot see whether you had a layover somewhere, switched planes, returned to your home country, and then later flew to another country before coming to Thailand on a direct flight.
So the safest option, especially if you have a long exemption use history, is to make sure your flight details and layover information match the same trip from your home country.