That's a big no-no. Gambling with another person's money is a great way to lose that person's trust and friendship.
You meant that borrow money from someone or to gamble with someone's money?
In my country , a lot of young guys use the parents money to gamble. Most of the times they hide this from parents. I know some guys who lost all their tuition fees on this and that was a huge amount for their parents. It always ends on bad note leaving scars on your relation with parents. They will not be able to trust you in future.
One of my friends also took a lot of money to day trade (little different from gambling). But he was kind of making bling guesses only as he has no experience of all this.