I have played blackjack for a living and that wasn't gambling either.
You can gamble but not if you are a professional. As my mentor Jerry Simmons says "it is an exercise in odds and probabilities" or as I say it "applied statistics".
You will not win 100% of the time but you should win...