No it was not. Early in the war, the Ottoman Empire joined the Central Powers- which included Germany and Austria-Hungary. Towards the end of the war, the US joined the Allied Powers- which included Britain, France, Russia, and Italy. The Central Powers and the Allied Powers fought against each other in World War I.
In World War 1 it was the German Empire and the Ottomon Empire.
Ottomon empire in turkey collapsed when it is defeated by Germany in ww1.
Austria-Hungary
Both the Ottomon Empire, ruled from Turkey, and Austria-Hungary were arguably destroyed by WWI. Both were divided up into differing nation states.
The Ottoman state began as one of many small Turkish states that emerged in Asia Minor during the breakdown of the empire of the Seljuk Turks.
Germany, austria-Hungary, Bulgaria, and the ottoman empire
The Austro/Hungarian Empire was Germany's ally in WW1
if you want
Oman is mainly a British ally.
Many of the boundaries of the Upper Middle East (like Turkey, Iraq, Syria, Lebanon, Jordan, Israel/Palestine, and Egypt) come after the break-up of the Ottoman Empire and are a direct result of it.
Russian Empire
the nato suppliles passing through pakistan is a proved that pakistan is an ally of the us.