Yeah, that's the idea of space settlements. Check out this link: http://settlement.arc.nasa.gov/
But I don't know, I wonder how well permanently floating through space would affect human psychology. I realize that the whole point is that we could build them however we want, but you have to wonder if it won't be hard for humanity as a species to move to a permanently enclosed space.
RE: Why We Should Colonize the Moon before Mars