In general, all nationalities can buy and own real estate in Turkey. There are only three countries that Turkey has frozen its diplomatic relations with, and they are North Korea, Armenia, and Syria.
Some countries prevent Turkish citizens from owning their lands. That is why citizens of these countries are not allowed to own property in Turkey. There are some exceptions like Russia. Citizens of Russia can purchase with special permission from the Ministry of Internal Affairs.