Under the present circumstances of the Ukraine-Russia war, would Ukraine be justified in developing nuclear weapons?

Cross-referenced with "Conservative leader Pierre Poilievre argues for taking public funds away from the CBC. Do you agree?"