This is why people who work in sports can't bet on sports. This is literally a solved problem. The current laws outlaw your examples already.