Yes, these plans are called mortgage life insurance or mortgage payoff life insurance which can provide your family (beneficiary) with the funds needed to pay off the home loan so they can remain in the home they shared with you while you were alive.
When buying a mortgage pay off life insurance plan you'll want to select a "term" (duration) of coverage that matches the duration of your mortgage loan; for example, 15, 20 or 30 years.
In addition, you'll want to select an amount of coverage that matches the amount you currently owe on your mortgage.
That way, your family will be covered throughout the entire duration of your home mortgage.