Yeah, I like that! I would imagine we’d get away with it more cleanly if we left “because she saw your spirit” alone instead.
But I like the train of thought! It sort of implies that Leia had a sense of danger about Rey as somehow related to the Emperor. Not necessarily as a blood relative but as a potential occupant of his throne.
That or have Luke say, “Well technically you father was just a clone of the Emperor, so you aren’t really related to him, Rey. I think you’ll be fine.”