I have two different passports from different countries which I use randomly while traveling in SEA.
I've sometimes been asked about my second passport both by Malaysian and Thai immigration; never been a problem but they can of course match those passports in their database .
Question has been asked many times before and it seems that there is no definite answer.
All e-visa are reviewed and granted by the respective embassy of your home country and it looks like that different embassies decide differently.
You have to upload a flight ticket to Thailand which you of course can buy and cancel but still no guarantee that just your embassy will grant you a visa.
Is it really worth the hassle when you can easily get 45 days visa exemption which you can extend for further 30 days in country?