Yes. I suffer chronic pain, both physical and emotional, both due to being bipolar and due to the permanent, crippling injuries I recieved as a soldier, and later in a massive car crash, and playing games, reading, listening to music all tend to make my conscious perception of pain melt away while I'm focused on the task at hand.