The government student loan system in England effectively uses an income sharing agreement: with the most recent version, you pay 9% of your income over £25,000/year and if you haven’t finished paying it back within 40 years, it gets forgiven. This scheme doesn’t pay for itself though. (it costs the government money).