Is it possible to remain in a military alliance with a nuclear-armed nation?

Answer

Yes. Nothing in the treaty prevents a nation from being in a military alliance with a nuclear-armed nation, so long as its participation in that alliance in no way involves giving support to nuclear weapons.