Yes. It's also used in neonates, both male and female, for its ability to treat pulmonary hypertension -- but also, it is now emerging, for its neuroprotective properties:
https://www.frontiersin.org/articles/10.3389/fncel.2022.8796...From the same paper, there's some indication that its cognitive effects might be more potent in women, as "[s]everal studies have suggested that sex hormones may influence the effects of sildenafil on the brain. Female mice performed significantly better than males after sildenafil treatment following HI insult, which suggests a sex-dependent effect of sildenafil (Engels et al., 2017). The underlying mechanism might be related to the relationship between sex hormones and the NO/cGMP pathway."