It is known that vitamin D can help lessen pain caused by osteomalacia, a softening or weakening of the bones caused by a severe, long-term lack of vitamin D. Researchers aren???t sure how many people suffer from osteomalacia, says Dr. Hooten, but it can be misdiagnosed as fibromyalgia or other conditions.