Yes, if you lived with him all year and he provided more than half your support. If you are claimed as his dependent, then he can claim the tuition credit based on your 1098-T and other qualified expenses.
There are two types of dependents, "Qualifying Children"(QC) and Other ("Qualifying Relative" in IRS parlance even though they don't have to actually be related). There is no income limit for a QC but there is an age limit and student status test, a relationship test and a residence test. Only a QC qualifies a taxpayer for the Earned Income Credit and the Child Tax Credit. The Other dependent (qualifying relative) credit is worth (up to) $500 per dependent and is non-refundable. That is, it can only be used to reduce an actual tax liability.
A person can still be a Qualifying relative dependent, if not a Qualifying Child, if he meets the 6 tests for claiming a dependent:
Closely Related OR live with the taxpayer ALL year
His/her gross taxable income for the year must be less than $4400 (2022).
The taxpayer must have provided more than 1/2 her support. The money from your student loans is considered support not provided by your BF.
He must be a US citizen or resident of the US, Canada or Mexico
He must not file a joint return with his spouse or be claiming a dependent of his own
He must not be the qualifying child of another taxpayer
You would need to qualify as his "Qualifying Relative"
To qualify
Do they live with you? Your relative must live at your residence all year or be on the list of “relatives who do not live with you” in Publication 501. About 30 types of relatives are on this list.
Do they make less than $4,400 in 2022? Your relative can't have a gross income of more than $4,400 in 2022 and be claimed by you as a dependent.
Do you financially support them? You must provide more than half of your relative’s total support each year.