Yes, you can consolidate your debt before you apply for a mortgage. Depending on how much debt you have, you may choose to remortgage your existing home or take out a new mortgage.