Yes, you should inform your lender if you plan to sell your house during foreclosure. It is a legal requirement in many states. In addition, your lender may have specific requirements or procedures for selling the property. Communicate with your lender throughout the process and get their approval to ensure that you are meeting all their requirements.