no. medications are given to treat, control or manage a condition, not be the cause of one.
just because a professional writes and fills a prescription, it in no way makes it OK to abuse it. unfortunately, prescription medications are one of the most highly abused drugs because people assume they are "safe" because they are given by a doctor. medications should be taken as prescribed by the doctor for the intended use.
if you feel you, or someone you know, is abusing their prescription, the doctor needs to know in order to prevent injury or death.