Yes, certain medicines may have side effects that include muscle weakness or bone discomfort leading to leg pain.