To dream of a mugging represents feelings shock at being robbed of power, happiness, or independence. Disbelief that you’ve lost something when all seemed normal. Alternatively, a mugging may reflect feelings of being pressured out of your happiness or sense of power. Being taken advantage of when you felt trusting.
To dream that you are someone else may represent your aggressive insistence on making someone lose something or give up their beliefs. Pressuring others on the spot to change something they didn’t expect to.
Example: A doctor dreamed of robbing one of his patient’s and cutting out the patient’s right kidney. In waking life he soon discovered that his own right kidney was badly infected. The may have reflected the doctor’s shock that he could get sick himself.