Energy drinks

I just received the worst news ever. I crave energy drinks 24/7 due to the fact I work over night it's been so hard and very stressful trying to stay awake at night and I've come to find out that I can even have one . So my question is would a cup of coffee be ok to drink