Yes, but the concept of a Ukrainian nation has been around for several centuries in that people identified as Ukrainian irrespective of who was currently governing/occupying the area. People identifying as Israelites and referencing the land of the Israelites can be found in the Bible.
The modern establishment of both nations is relatively new, but neither sprang into existence out of nothing. There are historical links between the peoples and the geographic regions. And yes, you can say the same for the Palestinians. Given this, the creation of a separate Palestinian state would seem to be the logical solution, but there are people who violently oppose this and determined not to make it happen and even if it did happen, would there be peace? Ukraine and Russia are two separate independent states and yet one still invades the other. There is always some dick getting themselves into power and trying to recreate past glories or past empires or avenge past wrongs, perceived or otherwise.
At some point, people on both sides are going to have to break this cycle. And that will mean consigning the past to the past and looking at a way of creating a future, because what’s happening right now ain’t it.