If a social environment feels "off" or if someone is making you feel uncomfortable, it is always okay to remove yourself from the situation.
Experiences like the one described can have a significant impact on a person's mental health and well-being. It can lead to feelings of vulnerability, low self-esteem, and even anxiety disorders. In severe cases, it can also trigger post-traumatic stress disorder (PTSD) symptoms.
Personal space and boundaries are essential aspects of human interaction. Everyone has a right to their own physical and emotional space, and it's crucial to respect these boundaries. Unwanted touch or physical contact can be perceived as invasive, threatening, or even traumatic, especially if it occurs while a person is vulnerable, such as during sleep.