Is it possible to buy a house despite credit card debt?
In order to obtain the mortgage financing necessary to buy a house, you will need to have a Durable Power of Attorney or be appointed as your husband's guardian. Otherwise, you will not be able to act on his behalf. You should look into whether your particular state would allow you and your husband to take title to the new home as "tenants by the entirety," which is allowed in some states. This would protect the home from being subject to claims by the credit card companies.
You need to meet with a financial planner to help you sort out this situation. A financial planner will help you budget to be able to meet your expenses including the new mortgage costs, and whether it makes sense to transfer your credit card debt into a new mortgage loan.
However, you may find that the institution that you go to for mortgage financing may require that the credit card debt be paid off.