Morphine is used to treat chronic pain, and neonatal abstinence syndrome.

https://recoverypartnernetwork.com/drug/opioid/morphine-addiction