Usually these financial engineering schemes gloss over obvious defects and stick the investor with the risk.
The whole reason that student loans are non-dischargeable is that medical students would become doctors, then leave the country for enough time for
debt to go away.