There once was an Israeli Prime Minister who was willing to work towards that.
And what happened to him?
He was killed, assassinated, not by a Palestinian, but by another Jew.
https://en.wikipedia.org/wiki/Assassination_of_Yitzhak_Rabin
So much for a two-state solution.