I'm 43 and recently got back into it after a more than 25 years. I basically quit during the big slump at the end of the 80s. Back then seeing a kickflip was still fairly rare, and I never quite mastered it myself. I mostly skated small backyard halfpipes, and driveway quaterpipes.
When I started skating, my body remembered how to Ollie, at least sort of. Unfortunately my legs seemed very weak and my technique was poor. I'd get tired quickly and then couldn't even pop much at all.
Ollies and pop tricks are quite physically demanding, especially when done in a nice controlled manner. I've spend the last few months working hard to strengthen my legs and clean up my ollies. Even if I don't skate a full session, I try to do at least a couple dozen ollies a day just to get stronger and improve my technique.
My ollies are getting better all the time, and I'm now starting to work on some other tricks like pop shoves. As long as you don't have any medical or joint issues, I do believe that it is possible to get back a fairly decent ollie and pop tricks.
It really just takes time, practice, and maybe some extra exercises to speed up the process. I mean many people don't do kickflips for a year or more after starting to skate. It just takes that long to build up the muscles and coordination to do such things.
My advice would be to just keep skating. Make sure to do plenty of ollies. If you also want to add in some leg strengthening exercises, then do it. Mostly just go out, have fun, and keep skating. It will takes months at least in order to really improve and get your legs back. So don't look back a day, or even a week. Look back several months to see if you are getting better.
No amount of practice can make a trick possible today, if your muscles just plain aren't strong enough. It just takes time to build the strength. Beginners build that strength naturally as they learn to skate. Restarters have to accept that their body physically cannot do what their brain remembers doing, at least not yet.