1st Mortgage to Pay for a new house....2nd mortgage to pay for Credit Cards....Good Idea?

I want to buy a house and have a good Fico Score. However 75%of my income is spent on Rent, Car, Credit Cards and Student loans.
I wanted to know can I buy a house and possibly get a 2nd mortgage to payoff my credit cards, car and student loan?
6 answers 6