Depends which embassy. Some don't request proof of exit stamps. I know of someone who was approved while in thailand and has had no issues. But as others suggest, safe bet is to leave thailand now and go to the country of application. Or take the risk