It is very unlikely you’ll lose your house when you file bankruptcy unless your debt is associated with your mortgage. In that case, your home could be foreclosed on. However, this will not be due to any medical debt you owe.