Real Property as Debt Payment: Is it Legal?

Is a house and lot or any real property can be used as a debt payment? Before you get carried away with hassle-free deals, consider the pros and cons.