Yes, you can enter Turkey with a Schengen Visa based on the following conditions:
You need to be a national of one of the 63 countries that are eligible for an e-visa
The airline you are travelling with must follow the protocols of the Turkish Ministry of Foreign Affairs
You must have a reserved accommodation and funds to sustain your stay