Deductions & credits

No, not on a 2024 return since you did pay for the medical expense until 2025.  You can enter this payment on the 2025 tax return next year.