Yes, you can take the student loan deduction if you are the borrower or the co-signer of the loan and made the loan payments.
Please read this TurboTax article on the student loan interest deduction.
You can claim the interest deduction, if you meet these three requirements: