Hammocks can be hung anywhere. They simply need two anchor points where the hammock can get its pressure. As you are going to put your weight on it, it needs a few fairly solid anchors.
Don't bother worrying, we are going to take you through the means of how to set up a hammock in your dorm with ease.