Unfortunately, no. Borrowers will lose their earned credits if they decide to consolidate Direct Loans. In this case, they need to start earning credits from scratch. Hence, it is advisable not to include the Direct Loan that you made some payments for the Public Service Loan Forgiveness as a non-profit employee if you need consolidation.