Yes, it may be possible to keep your house if you file for bankruptcy depending on the type of loan you have and how much equity you have in the property.