I’m in my 40’s. I’ve been lifting for 15 years consistently. I’ve been on trt for almost four years(120 mg/week) and I’m in the best shape of my life from both a strength and physique standpoint. Even better than when I was in my early 30s. And yes, I had good programs for almost that entire time so I know how to lift properly for hypertrophy. A moderate trt dose and dedication can go a long way, and you’ll probably feel much better along the way. Sure you’ll never look like prime Arnold Schwarzenegger, but you can still build a great body.
And adding in your history with depression just makes the blast and stop approach that much worse. If you take it, then like I said you can expect to enjoy some pretty good highs but also some extremely low lows.