Hi there!
Yes, if you paid interest on a loan you received, you can claim the amount of interest you paid on that loan in 2022 (or the preceding 5 years). You can claim an amount only for interest you have not already claimed in the past. But if you have no tax payable for the year the interest is paid, it is better for you not to claim it on your return this tax year.
Hope this helps