To dream of being in an asylum represents feelings of being incompetent or unimportant. You may feel ostracized, embarrassed, or like people have lost all respect for you. You may have made a big mistake that others disapprove of. You may also feel left out, excluded, and ignored.
To dream of being treated by a doctor in an asylum may represent a difficulty changing unhealthy habits or beliefs.
To dream of escaping an asylum may represent feelings about a second chance or a new lease on life. You may have thought up a way to regain respect or restore your reputation.