Yes, pain relievers like NSAIDs (Nonsteroidal Anti-Inflammatory Drugs) are commonly prescribed to manage pain associated with conditions such as dysmenorrhea (painful periods) and endometriosis. These medications help reduce inflammation and alleviate pain, improving the patient's quality of life.