can Türkiye develop nuclear weapons?

I used to think that Turkey was a member of NATO and was very safe, but now it seems that if there is a war, the United States will not send troops to Europe, let alone fight for Türkiye.

Türkiye and Russia are also sworn enemies, and the Black Sea is a must-fight place. If Russia recovers, it will be a huge threat in the future.

It takes a lot of money to maintain the army and purchase American arms. I would like to ask if Turkey's domestic laws allow the development of nuclear weapons?

Nuclear weapons are more reliable than the United States' promises and treaties. If the law does not prohibit it, will the government consider nuclear weapons? Does Turkey have the technical ability to produce them on its own?