That may just be your actual physical pain condition that is making you feel that way in the morning. I'm sure the pain pills loosen you up and help the pain so in the mornings when it has all worn off you might feel more sore and stiff, etc... I never had anything like that happen when I was on them. But it is different for everyone. But if I had to guess, it would be that you feel that way in the morning due to your pain problem, not the pills.
The problem with needing the pills for chronic pain conditions is making sure that you are ONLY taking the meds when you legitimatley need them for pain. Not because you have a bunch of laundry to get done, dinner to make, a house to clean, etc... and you want the energy you get from them. Then you are abusing them. That was the hardest part for me. I took them for so many reasons OTHER than my pain and that is when I got into trouble. The pills are there for your pain nothing else. If you are feeling depressed, anxious, etc... you need to see your doctor and tell them that so they can give you the appropriate medications for those conditions. I wish I had done that and maybe I wouldn't have gotten into the trouble I did with the vicodin.