Not at all. Everything can't be realistic fiction. There are various forms of storytelling that involve elements of imagination, supernatural, or completely fictional settings that don't fall under the category of realistic fiction.
Not everything is realistic fiction. There are many genres like fantasy, sci-fi, and mystery that aren't based on real-world scenarios.