I'm so sorry for your stress & worry over this. I just saw your post this morning (new here) and I hope it's not too late. But YES, absolutely, Vitamin D deficiency can cause bone pain and it's very common in the hip area! I am hoping that by this late date you & your doctor have resolved this problem.
I also had a difficult move out of state and the stress was overwhelming. I was extremely tired all the time and was developing awful leg pain. At first I thought my hips were failing...I have hip replacements. I finally went for a physical I felt so bad. I had severe anemia (low iron) and severe Vitamin D deficiency. I have been taking supplements for about 3 months and I can't tell you how much better I feel! My leg pain is all gone. I used to be an avid exerciser and had completely stopped due to the pain. Now I am back at it and life is becoming good once again.
Please let me know, if you see this post, how you are doing. I hope you are much better!