It depends on your body and how you handle caffeine. There's about 64 mg of caffeine in a shot of espresso so it you could get a boost of energy. However, it's unlikely it'll prevent you from sleeping through the night.