Typically, anything with caffeine has the capacity to keep you awake. The average half cup of coffee ice cream contains 29 mg of caffeine — which is roughly equivalent to drinking a whole can of Coca-Cola.