Yes - all of our conscious reality, including both the environment and our sense of self, are experiences of perception formed inside the mind by the body and brain. Our sense of an "external" world is very much an "internal" reality, and the boundary between self and world is a mental construct.