You would need to leave Thailand and re-enter anyway, so why take the risk and doing it this way, when you can apply in the country you enter when you leave? Not worth the risk. Also, if you are not Polish or Ukrainian, you can’t apply in Poland
Chris Knox - I fly 5 times a month, mostly around Asia. Our travel office has always said you need to ensure middle name is correct/included or you could be denied boarding.
From other people’s responses, sounds like you will have to reapply. Surprised that sites would say it is ok to not put your full name. That is usually a major issue for visas and plane tickets