Yes. The government will cancel any remaining balance on your federal student loans if you make payments for a certain amount of time through an income-driven repayment plan (IDR). Under current IDR plans, borrowers must make payments for either 20 or 25 years to have their loans canceled.
For more information on income-driven repayment, click here.