Yes, foreclosure of the  HDB Finance personal loan is allowed after six months. You have to pay the requisite charges and the applicable taxes.