As I stated in another thread, a major (if not the main) purpose of ROFR is to push people too retail. They do that by creating confusion and frustration among other things.
For all states I am aware of to put terms in the contract that are not the actual terms and for the purpose of misleading related to ROFR would be a violation of state law. Therefore to make a side deal for the purpose of bypassing ROFR is both illegal and dishonest.
If person A sells property to person B for a sum of money. Then person B gifts the same sum of money back to person A as a separate transaction. The two transactions are legal.