That's kinda what I was thinking. I mean, it's one of those tropes we've seen a million times, especially in classical tales. And there are many variations of the theme.
Which is the problem I'm having with it, as it's not that distinctly written. Is it only about royal babies being raised by commoners, or does it count when the switch is made as a child? Toaru Hikuushi e no Koiuta
springs to mind, where the prince was give away in secret at around 5 or so (though considering the revolution there wasn't really a throne to grow up to). Does he have to come back (or try to), or is it enough to just be the legitimate heir?
Or is it just enough that it's a legitimate heir raised by commoners?
As far as the types on Rags to Royalty
are written, it seems like a mix of Snow White and Sleeping Beauty, which really only seem to differ in the knowledge of being the heir or not. Or are those two about a child who went into hiding, while this is strictly about a baby being given away?