Deductions & credits

No.  You bought it in 2022, so it can't go on your 2023 return.  Unfortunately, you don't get the credit.