Ukraine was home to many nuclear and rocket scientists so presumably they could have reverse engineered them if they wanted and got a big head start in it.
But yeah thats only if they wanted to try and spend the money to support a nuclear program. As they sat they were unreliable at best case.