The only issue with that is Israel’s wish to remain a Jewish state. If they added all of those Palestinians as free and equal citizens, then that would shift the demographics of Israel sufficiently to put that at risk. So, they have to choose between values of freedom and equality, vs being a Jewish state, vs giving up that land.
Or they could attempt to remove all the people somehow.
No easy solutions, unfortunately. As usual for the Middle East.