Drinking an energy drink and then drinking some coffee afterwards through the day is not gonna hurt you.
But if you drink more than a few energy drinks and also drink a lot more coffee together then it may cause a caffeine overdose.
Caffeine is okay in moderation and can help keep you alert and give you energy.
But when you drink too much coffee or energy drinks and overdose on caffeine then it can be harmful to your health and potentially deadly.
But drinking one or two energy drinks along with some coffee in the day is not gonna hurt you or should not depending on your current health.
Getting more sleep is the main key to having enough energy in the day but coffee and energy drinks can help you get through the day but just drink them in moderation.