Thai Citizenship

Can a foreigner become a Thai citizen, who is eligible and where to start. In many cases the path to citizenship runs through permanent residency, so the PR requirements are a good place to begin.