Generally it's a good idea, but you need to comparison shop to make sure you get a good deal.
It's a small industry that sells protection in the event you can't make your payments. Essentially, you buy it and it's very expensive; it's not a good deal.