Are reverse 1031 exchanges considered legal?

Are reverse 1031 exchanges considered legal?