Ukraine's constitution doesn't allow elections when martial law is in effect. The US constitution has no such clause, nor anything else that would allow for delaying or canceling elections.
That's not to say it can't be done, but there's a huge difference in difficulty between doing what the country's constitution says, and doing the opposite. Especially in a country where elections are run by sovereign governments not under the control of the central government.