Yes, you can contribute to an IRA or Roth IRA if you have earned income regardless of your age.
For 2020 and later, there is no age limit on making regular contributions to traditional or Roth IRAs.
Please this IRS document for more information.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"