That's a tough way to make money. IV increases for weeks before earnings. If you buy early, you have double sided decay for weeks. The later you buy, the more you pay up (higher IV).
This can be overcome the underlying moves significantly pre EA and the increasing delta of one side begins...