First, talk to your accountant.
I can't imagine that you can write off a loan. You have to remember, a loan is not income. And there are only certain conditions where a loan can be deducted.
Many governments do allow for the interest payments on student loans to be deducted along with other options.
Some also have their work cover part of the tuition, which allows for a justification of work related deductions for one's own payment.