what do you mean by "not allowed"?
Even if you go bankrupt, you still have to pay back the loan. If you don't, it's garnished directly from your salary or seized from your bank account Any other type of unsecured loan you can just not pay it and it just messes up your credit
Or your next of kin. Best death gift to loved ones!