Unsure if Red Bull is the best pre gym workout drink. What about eating something? What about buying the drinks in bulk and keeping them in the apartment instead of going to 7/11 everyday?
Nevertheless humans loves routine and working effectively for two hours (coding, then gym) is a productive use of those early hours of the day. Many waste it in bed.