Yes. While it’s not the usual situation that someone in a younger generation gives gifts to someone in the older generation, there’s no tax rule barring this. In fact, under tax law there’s no bar to gifts being made by minors.
Eligible taxpayers may claim a tax credit for 10%, 20%, or 50% of up to $2,000 of retirement plan contributions.