Yes, you can prepay or foreclose your HDFC personal loan by paying a prepayment penalty of up to 2% of the outstanding loan amount.