Yes, Turkey internally has been out of sync with NATO from the beginning, but it was hidden to the outside.
Kemal was a very successful military officer, and was secular. But that does not mean they practiced a democratic government. They were militaristic, Nationalist and authoritarian.
They have a hidden dark side that has been there from the Beginning of Turkey. It is called Massacres and Genocide. It is a hidden and denied fact.
Turkey is one of the few countries to set aside an entire province as a prison.