This is Disney's version of "One Hundred Years of Solitude".
It is of course not nearly as dark as the novel by Gabriel García Márquez (thank goodness).
There are plenty of notable similarities though.
Both of the stories take place in an initially isolated town in Colombia.
They both are about the struggles of the leading family of the town.
Both of the stories have a character making a prophecy about calamities for the family in the future.
Except the Madrigals from "Encanto" survive and recover from what seemed like a disaster.
There are yellow butterflies who appear through some kind of magic in both stories.
And as for the plotline from Bruno's rat telenovela about the doomed love affair between an aunt and a nephew?
That can also be a reference to such a plotline in "One Hundred Years of Solitude".
It is pretty much as if somebody wanted to repeat what Disney did with "The Hunchback of Notre-Dame":
Taking a famous but dark novel and somehow make it work as a family-friendly animated musical.
But it seems like this time, all of the names and many other details had to be changed.
But I can't believe that all of the similarities are coincidences.
And I'm actually surprised that this is not discussed more than what it is.