The last time Turkey got stuck into a seemingly endless war, they got disgusted when it was over. They then promptly had a civil war/war of independence, threw out the theocratic arsehats, forcibly modernized their country, forced secularization and democracy and many other admirable things came as a result of that. https://en.wikipedia.org/wiki/Atatürk’s_Reforms
Erdogan’s been trying to roll back the Ataturk Reforms, but getting stuck into an endless war in Syria is likely to get him shot and the Reforms restored.
Absolutely
This is no doubt part of Trumps strategy- get Turkey tied down in a wasteful and unpopular intervention in Syria