I wish it were that simple.
The problem is that Turkey is not changing up civilian control. They've had Erdogen for what? 13 years? That's not a healthy system. That's a system where one bunch is running the tables. Such systems always lead to much worse than military coups. Anybody checked out Venezuela lately?
There's probably been some support for IS coming from Turkey, although not from the military. Turkey is a NATO member and nuclear. They're in the middle of a really tense and unstable region.
All of this is bad. Really bad. And now we'll get 10x more of it.
I do not support military coups if a civilian government is functioning and changing up the dominent parties and leaders every so often. Everybody gets a turn. I don't see that in Turkey. I see a country headed either towards internal or external crisis. Perhaps both.
There's also another point: the vast majority of citizens in a country may want to have leaders and policies that destroy it. That's their right. If that's where Turkey is headed, NATO alliance members need to think about how to adapt accordingly.