At this point in time I don't think that's the case but it wouldn't be impossible. The main point that can be made in favour of this argument is the coup's poor planning. At least it seems as if the plot was poorly planned and executed. The details are not yet known. Who was on the helicopter that was shot down? Did aspects of the plan fail? Was there a failed attempt to grab Erdogan?
There may have been key components of the plot that if unsuccessful, would have led to its quick collapse.
I would not put it beyond Erdogan to engage in such a plot but I think this view (as is the case with most media coverage) ignores the greater context of Erdogan and Turkey's geopolitical position post 9/11.