Nope. I do not see it this way at all.
Fact One: Most of the exports are priced in dollars not because of the local currency, but because of the companies wanting the materials prefer to do business in dollars or rubles or yen, etc..
Fact Two: Turkey is a part of NATO and this means both access to military gear and friendly loans to cover importation.
Fact Three:https://en.wikipedia.org/wiki/Energy_in_TurkeyBy massively increasing production of solar power in the south and wind power in the west Turkey could meet its entire predicted 2020 energy demand from renewable sources.[12]
Fact Four: Nearly all of the industrialized countries are major importers of raw materials used in industry (Germany was not an exception but following others by example)
Fact Five: Turkey has a tradition of comparative advantage in agricultural products rather than military products. The military products are more the result of cooperative relationships such as the small arms trade with Germany rather than a militarization of industry in general. It would make no economic sense to suggest militarization at the cost of agriculture exports. In general Turkey has traditionally had a trade deficit (since 1947) which is typical of developing countries and not specific to militarization. Exports of road vehicles and machinery as well as iron and steel would argue against your militarization point. https://tradingeconomics.com/turkey/balance-of-trade