highly doubt caffeine is causing your kidney stones, it's far more likely the sugar. one can of redbull contains a whopping 27g of sugar. that's already close to the daily maximum that most public health agencies around the world recommended limiting to.
avoid excess sugar (or just avoid it entirely, excluding non-processed fructose) and excess sodium, and stay hydrated at all times preferably with water. switch from energy drinks to instant coffee or plain tea and taper off with fewer drinks per week if you dont want to deal with caffeine withdrawal symptoms, and don't add creams/honey/sugar.
any more than what you'd naturally get from consuming fruits, sugar is poisonous to your health, it destroys your heart, teeth, kidneys, liver, etc. imo it should be a viewed as a drug and toxin, but it'll never be due to the stanglehold the confectionery industry has over virtually every country's culture and political system
personally I down some water upon waking and 10 mins before sleep so I wake up needing to piss, that seems to wake me up good enough
You're probably right, I've been drinking a lot of milk shakes and stuff lately. I'm just gonna quit it all and see how it goes. I'll give in a month for now.