If there is any equity at the start, or within the duration of your bankruptcy, then yes, you could be forced to sell your house as part of the bankruptcy proceedings. This is why it is so important to get as much advice as possible before you consider going bankrupt!