Currently, it seems like Iran, the Middle East, and Turkey have to work together to prevent Israel from entering Gaza.
On the other hand, it will not hurt Iran, or the Middle East if Turkey takes the land where PKK is operating with the help of the Americans.