But that would mean that the more student loan you took out as a student, the less tax you'd pay as an earner...
A slightly more sensible alternative may be to calculate student loans on the after-tax salary, but this would make it harder to calculate for payrolls, and certainly for self-employed people who self-assess.