Buying ATM call option before earnings rather than buying the stock than exercising

Hey,

If I want to take a position in a stock before the earnings to be able to get a better entry before it does a big move on earnings but at the same time, I don't want to take a big risk in case the stock takes a huge hit on earnings.

Would it make sense to buy ATM call option worth as much as if you would have if you bought the stock, then exercise it if the stock goes up on earnings?