Kind of. My solution, (once upon a time) was for Israel to annex the West Bank, declare the Gaza Strip "Palestine" and tell everybody in the West Bank, "You now have a choice of either becoming Israelis or leaving. Choose wisely."
Problem was that would not stop the terrorism, in fact it would only give them a secure base to work from. And then Israel would either have to bomb it to rubble or invade and occupy and then it starts all over again.
The problem is not one of land, the problem is one of people. A change of heart is necessary.