There's nothing preventing Gaza/West Bank from being a free country now, except for the fact that the continue to act like animals because of their religious beliefs.
The UN and Arab countries make terrorism a highly lucrative industry for them. Shut down the freebies and suddenly they all move away on their own.