The traditions relating to the origins of Rome and the Latins belong to the realm of Roman mythology. This is not to say that the persons or events related in such traditions did not exist, or were solely the product of deliberate invention by later generations.
While the stories about the origins of Rome and the Latins are rooted in Roman mythology, it doesn't mean those tales didn't have a basis in reality. It also doesn't suggest that these narratives were entirely fabricated by people who came after them.