Hello and hope you are doing well.
During sleep, the body cycles between non-REM and REM sleep. Typically, people begin the sleep cycle with a period of non-REM sleep followed by a very short period of REM sleep. Dreams generally occur in the REM stage of sleep.
Disorders related to dreaming could occur with REM sleep behavior disorders. Here the person acts out the dreams.
This can be assessed by a sleep questionnaire and a sleep study and therapy is based on the severity of symptoms. If your symptoms persist, I would advise you to discuss your symptoms with your primary care physician who may then refer you to a sleep specialist for further evaluation.
Hope this helped and do keep us posted.
You might be clawing yourself in your sleep. I would contact a doctor to maybe see what the best solution is. Hope this helps.