If the Ottomans are actually going to reach the Carpathians, then Yes, they'll have a very defensible border for themselves. Still, Poland could ally with Russia to push the Ottomans back.
The Ottomans already had a presence in Crimea and thus were already capable of threatening other parts of Ukraine, no?