Yes medical bills can cause you to lose your home if they're not paid and the hospital or doctors office decides to take you to court and sue you for the owed medical bill debt.
The court can then force you to sell your home to pay off those medical bills.