Yes. Filing a Chapter 13 bankruptcy gives you the right to stop a pending foreclosure and set up a plan to get caught up on and pay your mortgage. Filing a Chapter 7 can also temporarily stop a foreclosure