Yes! Or proper physical therapy to have a professional identify why your back (or joints, or whatever) is hurting, what specific parts of your body need help, how to properly do it, etc. would be a fantastic thing to do, if you can access it.
If you are young and suffering from back pain then it is time to throw out your chair or your mattress. Those two are the most likely cause of your misery one or another.