The gambling analogy for options has no place in the Options forum on ET. US equity options are the most common type of equity derivative, they are sold and bought year round - including during earnings.
Be aware of the risk - below is a common disclaimer you might read on your brokers website...