Yes, you can contribute to a Roth IRA IF you have earned income in 2024.
Without earned income (from wages or self-employed income), you cannot.