No, not if the entire carryover could have been used in 2023. You'll need to amend 2023. The IRS doesn't allow you to skip years in credit carryforwards.
If you could have used some of the carryover, but not all of it in 2023, then you can use whatever is left in 2024. I recommend amending 2023 as soon as you can so the carryforward schedule agrees.