I've had two stress fractures; metatarsal and femoral neck…both diagnosed with MRIs. Both required a period of restriction of about 6 weeks (a boot for the foot and crutches for the femoral neck). After that, I waited another 6 weeks before I saw a PT weekly and started a return to running program which was a very conservative build back to running. I did bike a lot during that 2nd 6 week period…but focused on higher cadence and not pushing big gears.
Fast forward to now, I keep my mileage a lot more limited than I used to (55 mpw max), pay a lot closer attention to my body and skip workouts when I don't feel great. I also drink a lot of almond milk and take calcium supplements.
Edit to add, this was all under the care of an orthopedic doctor who treats most of the pro runners in the Twin Cities. It's conservative but works…you just have to be patient.