Certainly an interesting subject to contemplate. On paper, the Turks certainly have the advantage but, the Syrians have advantages also. They would be defending they own soil while the Turks would be invaders with supply lines to protect. While the Turks have a better air force, the Syrian have a decent air defense system. The Syrian army is battle hardened while the Turkish army has undergone political purges in the leadership ranks. In a short conflict the advantage would be with the Turks, but in a protracted war, the Syrians would have an even or better chance. A wild card would be the Kurds who all of our military experts now seem to consider the best and most noble fighters in history.
It might come down to whether the Turkish army would be more motivated to invade a neighboring country or to get rid of President Erdoğan.
(pssst.... the ruskies have a super secret no fly zone over the battle area. They chased off some Turkish planes yesterday. The Turks have militia not regulars out front. Not going to work out well for them.)