I am writing this from the POV of someone who has had one minor and two major injuries post flight school.
The minor injury, a broken wrist, happened midway through a flying course at Ft Rucker. It was my first broken bone, ever. I thought it was maybe a sprain so I finished the five week course and went to the doctor at the end just to "make sure." FYI, boost off sucks with a broken left wrist. I could have and should have been kicked out of the course and sent back home. Lesson: At 45-ish, perhaps mountain biking activities should be tempered at least while attending a professional flight course.
The major injuries, a dislocated ankle and a dislocated shoulder both required surgery and hardware. They also happened as a result of mountain biking. When you ride 1500-2000 miles and 150 hours a year off road, you are going to have some injuries. Lesson: Three to five months of rehab sucks. Three to five months of not being available to do test flights, MTP evals and flight instructing doesn't make your command happy about your activities. Having a lot of quals and being valuable is great. Getting injured and not being available makes your command think about the merits of "putting all their eggs in one basket."
Its your life. You got to do what you got to do. Make sure it isn't forbidden by your command! Take care of your body. If you don't, it will let you know when you get older!