Yes, certain medications have been identified as risk factors for developing rickets. Long-term use of anticonvulsants, glucocorticoids, and some antiretrovirals can affect the metabolism of vitamin D or calcium. These drugs may lead to a condition known as drug-induced rickets, where bone health is compromised due to medication effects rather than nutritional deficiencies.