A lottery ticket is legal but expected value is negative. Same with casino games. Sure it's legal and sometimes people win but in my book it's a scam, even if not technically one.
What I particularly resent is the pretence from companies that a lower salary can be compensated by options. Such BS