Whatever you think of Edrogan, a military coup is an extremely ugly "solution". Even if the outcome is simply a new set of elections without bloodshed: Edrogan's party is the most widely supported in Turkey, so they would surely win again. So what does it achieve? Other than to roll back the idea that democracy is the means to achieve change.
And that's the absolute best case. People have already been killed, this is not bloodless, and whatever democracy is restored seems unlikely to be free and fair at least in the short term.
So Edrogan gone = good, sure, but all means of achieving that goal are not necessarily good. Just consider the Egyptian coup.