i think theres something to be said for intending your story to be for a particular demographic - young adult fiction knows its aiming at young adults, which influences the way the stories are told and the characters, to make them more relevant and more appealing to that demographic. media for women, while not only consumed by women, should aim for a female perspective (or ~female gaze~, wonder woman did this really well. i wouldnt say it was aimed at women in the sense that only women could or would want to watch it, i think thats a misunderstanding of demographics, but somewhere along the line it must have been acknowledged that the first female superhero movie would draw a considerable female crowd.)
but like, you dont need to do this? your story doesnt need to be for young adult women, or fifty year old men, or geared towards a particular nationality or background. most of the time your demographic will be 'people who also really like these things i really like and am writing about.' taika waititi said of writing his films 'if i like it, if i think its funny, then theres got to be other people who enjoy it too.'
youll never appeal to everybody, and aiming to will probably muddle your story to oblivion - a story shouldnt try to be too many things at once. but you can appeal to people outside of an expected demographic, for sure