No, a self-portrait does not necessarily have the whole body. It may contain both the whole body or any specific part of the body. It depends on how the photographer wants it.