It might be evidence that you or your government isn't benefiting you with its spending. That doesnt put obligation on the recipient.
This is substantially different than expecting control on how debt free doctors or engineers spend their time or what jobs they work.
The crux of this is that externalty price analysis is only useful when bounded by real harms and property rights. Otherwise, anyone can call anything they dont like an externality: If my employee quits for a better job- Externality! If a woman wants to go home to their family instead of having sex with me - Externality!
Seems fine if the government or another group was willing to lend or pay for education in exchange for future services.
I think it would be bad policy if the government made this the only way or a licensing requirement.
There are also some moral hazards if the exit Clauses aren't reasonable.
I was recently reading about the poet Joseph Brodsky's trial for sicial parisitism in the Krushchev era.
They committed the crime of unauthorized use of personal time to right poetry.