That's really bad idea, what if you lose the bet that is the most probable outcome than wins in gambling will you able to forgive yourself for doing that?
We can extend the loan by doing something and pay little amount but for very long term is the solution not preferable to choose gambling and having a thought that making money is that simple and if that is the reality then every gambler would have been debt free.