Tbh, at this point, Turkey should only consider opening factories in Turkey. If a foreign county is a must then be it Azerbaijan, Pakistan or Qatar.
Morocco, tho being an ally, is very risky as Turkey seeks to balance its relations between Morocco and Algeria.
An engineering office in Morroco...