Even then, in the way “I am your father…” in The Empire Strikes Back was “foreshadowed” by Obi-Wan being emotional before telling Luke what happened to his father in A New Hope, the same applies to Palpatine’s return…
It wasn’t foreshadowed in Star Wars because Vader-as-Luke’s-father wasn’t written until years later.