Foreigners (individuals who do not have Turkish citizenship) can work in official and private sectors.
Legal aspects of working permit in Turkey may vary based on the type of work, country of origin and other specific conditions. In addition, laws and regulations are subject to change and update. Relatively, we strongly advise you consult experts and/or relative organs who provide the most up to date information on the matter.
Also, please note that, in spite of the fact that principally it is possible to file an application for work permit either while located in Turkey or in Turkish embassy (or consulate) located in your country, there might be some requirements you might have to fulfill before you come to Turkey.