Gintama healed me through some tough times. The best anime of all time for me, its comedy is top notch and when it gets serious, it becomes quite competent and inspiring.
If you're not one for a super long show/Gintama doesn't interest you I can recommend Hajime No Ippo. The quintessential Shounen for me. Really motivating. Watching it makes you want to go out there and do something, it rekindles your self confidence.
Another anime that can also help you appreciate life is Rainbow: Nisha Rokubou no Shichinin. That anime was something else man, idk what it was but really felt nice watching it.
There's also the ever brilliant Steins;Gate. The more time passes the more that anime gets better to me, mostly because a lot of new anime try to go on a similar route but never come close to this anime's heights
If you want something that relates to children or parenthood or something I'd say the Maquia movie and Usagi Drop anime are great.
Idk about midlife crises but the ones I mentioned are all that can heal you, inspire you or just make you think about them for a long time. They stick with you and you just wonder if any other anime can top that. If you're ok with reading manga, Berserk and Helck are great. The berserk 1997 anime is good enough but the later ones are a disgrace and I haven't seen the Helck anime so can't comment on it but the manga was reinvigorating for the soul fr.