Yes, osteoporosis can be prevented by maintaining a healthy diet rich in calcium and vitamin D, engaging in weight-bearing exercises like walking or lifting weights, avoiding smoking, and limiting alcohol intake. Regular check-ups and bone density tests are also important for those at risk.