Turkish law allows foreigners to own property in Turkey for various nationalities around the world except for some nationalities that are not entitled to own in Turkey citizenship ( Syrian, Armenian,  Cypriot, Cuban,  North Korean).
Anyone who is entitled to own property in Turkey certainly has the right to inherit the property and other assets after death, so there is no obstacle for the foreigner in Turkey to inherit his property to his relatives who are in Turkey or abroad and the heirs can transfer ownership of the property to their names after the issuance of the property and after the court's decision and the distribution of quotas are by Turkish law