Either you are looking to restore something like the Ottoman Empire - by definition, this would be a dominion under a single Ruler - or you are making tactical, regional, alliances. You can't be doing both at the same time, imo.
Erdogan's motives for pretty-much anything he does, are hard to figure out.
Whilst there has been a recent rapprochment with Russia, his decision to shoot one of their jets out of the sky, was - at best - hugely antogonistic. Now it seems the US might be 'at war' with Turkey, if they fail to extradite Fethulah Gulen. Whatever he is about, he seems to be fearless about making enemies, which can't be a good thing.
This might not be over yet.
The Army has always fiercely-protected Turkey's secular tradition, and I wouldn't rule-out the possibility of a further coup attempt, somewhere down the line. Expansionism (particularly into Syria), or increasing Islamisation of the country, could yet act as triggers for something more coherent than last weekend's attempt.