Hey Jeff,
your condition is very severe. If I were you I would make a laying down computer setup. I just put a steel L frame into the wall above my bed and hanged my monitor from it with a vesa mount. For mouse and keyboard mounted wood onto the wall and taped them on that wood. This way you can study longer about your condition.
Be careful with the exercises when on pain medication you could be just doing more damage cause you can't feel it. I would do those head nods when you first wake up before you take meds. If it hurts don't do it.
Make sure your taking a good form of calcium with that d3 and k (never calcium carbonate) I take calcium ororate.
I'm guessing from your diabetes and osteoporosis you probably consumed a lot of soda and sugary food.
I think the best way forward for you would be:
Cut all sugars, cut all food made in a factory.
Try to eat all organic vegetables and meats.
You need to feed your body all the nutrients it needs to heal and rest a lot. Use all your daily power to get and prepare that good food, then rest and study.
The beauty of life is that we have a chance in every moment to change ourselves and future. I feel like god design reality this way, there is redemption for all of us.