Not alone, it isn’t, but there’s much more to take into account. Russia’s invasion was illegal to begin with, and they have committed numerous war crimes along the way. Most importantly (to me), Ukraine isn’t using this to attack, but as defense on their own soil.
These factors, along with others, make it a morally complex issue. Honestly, I don’t know where I stand.