Handstands resulted in one of my worst injuries, but I would still recommend them! While training for them I felt absolutely great fitness level wise, and they also helped me a lot with the classic "programmers neck". My advice - take them slowly and don't be overconfident. Get yourself to the point where you can do an overhead press with at least 70% of your bodyweight first.
For those curious about the potential injuries, I was doing a handstand on a raised platform, fell, and had my right elbow get pressed to my left shoulder behind my head. This resulted in a tear of my teres minor and my subscapularis, as well as some nerve damage in my abdomen. Ended up needing surgery to restore functionality in the shoulder. I've got about 85% return of functionality.
I don't regret my time doing them, and would likely still be doing them if I could (I no longer have the flexibility in the right shoulder to bone stack effectively).