Generally speaking, land transfer, as opposed to population transfer, is legal under both International and Israeli law. The Israeli precedent was exemplified in 1979 when Israel agreed to transfer the Sinai Desert in exchange for peace with Egypt.
The issue that arises with this plan is the transfer of populated territories and the revocation of citizenship for those in the transferred areas. Even this, in principle, seems to be legal under international law.