Hi! In theory, selfies are allowed, but only if they are done correctly. The front camera and an outstretched arm distort the perspective, and the face comes out too small or stretched. It is better to use the main camera of the phone, placing it on a tripod or shelf. The light should be even, the background is white without shadows. The photo must be in JPEG format, 600x600 pixels in size and no more than 240 KB. Detailed rules are here: passport photo dimensions 2025
https://digital-passport-photo.com . It describes how to take a photo with the right head ratio (50-69%). I took the photo at home and it worked the first time, you just need to follow the instructions carefully.