Nope, coffee won't give you extra energy. It'll just borrow a bit that you'll pay for later
Feeling tired and groggy in the morning may well lead you to crave a coffee boost. But is it a gift or just a loan in terms of energy?
Coffee in the afternoon as opposed to the morning can help you avoid that afternoon crash too, rather than contribute to it.
I don't think I've ever had a coffee crash but I definitely tend to be a mid to late morning coffee drinker. It's never really been intentional. I just enjoy the ritual of drinking coffee so I leave it until after my morning obligations.