Turning lemons into lemonade

Is there situations where it would make sense to transfer appreciated real estate into a dying family members name to get a stepped up basis?