It can be, but often times is not. It depends on the source insuring or offering the coverage. Some plans are a payment protection only, and will pay the payments due until the entire loan schedule has been repaid.
Other plans simply pay the balance of the mortgage off when death occurs.
Other plans simply pay the balance of the mortgage off when death occurs.