Actually we can use gambling as money making machine but that is if you know how to handle losses or winning as this is what gambling all about.
Money-making machine? Yeah, if you're a casino!
If you're a player then it's nearly impossible, first because gambling is a thing of luck, so a lot of the options are off the table (slots, roulette) which only leaves sports betting and things like poker.
Now we assume you have a system you mange to analyze the games perfectly before the match and you get a return of 10% or 20% constantly on your bets at the end of the month, how long do you think this will last? If a bookie sees you're making money constantly and they lose money because of you they will soon restrain your bets so you won't be able to make more than pennies at a time.
Which leaves poker tournaments, but this is just for the few that win, and you compete with thousands!
Money-making machine? No!
A few hundred $ now and then, possible but nothing more!