Yes. This is an eligible contribution for the retirement savings contribution credit. There are additional requirements concerning your age,
AGI, status as a student, and whether you are a dependent taxpayer. See
page 47-48 of Pub 590A under the heading, "Retirement Savings
Contributions Credit" and "who can claim the credit" to learn more. https://www.irs.gov/pub/irs-pdf/p590a.pdf