In Canada, it is easy. CIBC has had for many years the Aeromortgage, where the interest portion of the mortgage earns 1 Air Canada Aeroplan point per dollar. Of course, they also prevent negotiation on the interest rate, so when you can generally save about a percentage point, they can be considered to be very expensive miles.
I do not know if there is anything similar in the US.