Can essential oils be used as an alternative treatment for pain?

Can essential oils be used as an alternative treatment for pain?