The US built nukes in the 1940s. Ukraine has at least as much technical know-how and engineering infrastructure as, say, Pakistan or North Korea.
They couldn't have launched the Russian warheads as-is, but disassembly and reuse of the warhead material is another thing entirely.