You can apply, then come to Thailand on visa exemption. Once it’s approved you go out of Thailand and enter again with the DTV. I did exactly that a month ago
If you’re not in this group and it’s the first time you come to Thailand, how are you supposed to know this? Do they tell you when you enter the country?