Your question caught my attention. I will attempt to explain what may be happening and yes, I do believe it is related.
Ok, first off, we deal with an unimaginable amount of pain on a daily basis. More pain than most could imagine. Right?
But, then night time comes, and we are still suffering, but we attempt to relax to go to sleep. Well, I believe you were feeling the sensations that can lead up to an out of body experience, if you choose.
I have had several out of body experiences now, and it is related to my CRPS.
Plus, in doing some research, illness is a prerequisite for out of body experiences.
I hope I don't come off as crazy. I too will get some jerks, and my heart starts racing, at this point I try to remain very calm and my body will start to vibrate!
Then, I will myself to be above my bed and it happens.

It can be a lot of fun.
My take on all of this? I think our mind and body may want to separate at times, to give you a break. Cause I never feel pain during an out of body experience.
And yet, I feel pain in almost all my dreams.
Anyway, please do let me know what you think about all this?
Thanks,
Wendy