Yes, for a front-facing and fixed focal length phone camera, 8 megapixels would be good enough for taking selfies. Even a camera with a 5-megapixel resolution will get the job done.