When you speak of homework, I assume you are referring to sportsbetting which allows for such an approach and a user can actually make their own luck here !!
But when it comes to casino based gambling, well let's just say that the experienced players do get their lucky days more than players that hope the next spin pays them well.
Sports also require luck. If that is not then a good team who has good win record would be the winner, and the bet can be settled as a win. But that usually does not happen. No one can say before the end or at a point of winning (from where there is no way to lose) that the team will be a 100% winner. I have seen a lot of games where the chance of winning is 1%, but the game becomes a winner.