Can I deduct the interest paid on a defaulted student loan?

I had my student loan fall into default in March 2017 and began a rehabilitation program in April. I made set payments on time between April and December. Can I deduct the interest paid here in this situation? I never received a 1098 form.