Erdogan's playbook is very similar to Putin's. He has all but made it impossible to democratically oppose his regime, and willingly launched an all-out war against part of his country's citizens to overturn the results of an unfavorable election.
The sooner he is gone from Turkish politics, the better for that country. Fallout will be messy as fuck, though.