Yes, but only if you believe the mortgage will be paid off at your death. Otherwise, the filing of the TOD in the real property records could trigger the due-on-sale clause in the mortgage, causing the mortgage lender to require the named TOD beneficiary to pay off the entire mortgage or default on payments.