I think its rather problematic now. No lawyer would agree to conclude such deal, bit in several decades it would probably become common practice
And what is so problematic in such a contract? If everything is done in accordance with applicable law, both sides agree to it, there is no reason for such a transaction not to take place.