Yes, you can apply from the US. It will take longer (3 weeks to 30 days). If you’re doing it in person you’ll have to find out which location based on state I believe they’re 4. the Royal Thai embassy Washington DC seems to be the main one. You can also do it online.