The high rate of gamblers who take loan for gambling purposes is quite alarming, and most of them are fathers to kids. Most of them don't end up taking care of their debt before passing. What happens to the funds, when the lender comes for his money? It's quite a tough one for a person who isn't a gambler to inherit a trouble from a gambling dad. Such things also increase the anger of the society on gamblers, because the addicts are, also, good at extending their problem gambling to other close relatives. Could it be talked through in the law court?
For a moment. let's forget about gambling. Let's suppose someone takes a loan and he dies without paying the loan. So his children and his remaining like his wife etc are supposed to pay that debt. Unless the other person forgives the loan, there is no other way out but to pay the loan.
So now taking a loan for gambling is no different too. The person who gave the loan wants his loan back, he doesn't care if you gamble and lose everything in the loan. It is the gambler's problem (the one who took the loan) and not his. The same rules would apply if you take a loan for any other purpose or for the gambling. Also in most cases, if you tell them that you are taking a loan to gamble, most of the people will refuse to give a loan. Therefore most gamblers do not tell that the purpose of the loan is to gamble.
In some countries, the laws are very strict about the loans and one has to abide by the loan regulations when it comes to the paying off the loan. I think there are two types of loans to be considered here.
1) Those loans which we give to our family and friends. In these types of loans, we usually do not care to write it down on legal papers and these loans are given on good will. So sometimes people do not pay back these loans resulting in conflicts on the families etc,
2) The loans taken from the Loan giving agencies. Here everything is documented and if we fail to return the loan on time, there could be legal penalties. The chances of not paying the loan in this case is very slim.
I would say that even if we give a loan to any of our near and dear ones, better get it legally documented so that in case of any mishap like the death of the person to whom the loan was given, the next course of action is clearly mentioned and can be claimed in the court of law.