Absolutely! The key is staying current and curious. I'm around your age and I've seen a lot of my peers drop out by transitioning to management and/or finding other priorities in life such as family or hobbies.
The one thing I've found I need as I age is to exercise more and more just to keep my energy level up. I can do all-nighters with the youngest of them (but maybe that's genetic because my mom's still doing them too and she's pushing 80), but I pay a horrible price if I get out of shape.
And before someone objects, I actually like the occasional all-night binge hackathon - all things in moderation - I just bring better quality food than pizza and coke these days.