I dunno, it feels to me like Rey should have been the one to convince Luke to come back. It would be like the ghost of Obi-wan going to Yoda’s hut for a pep talk before helping Luke destroy the Death Star.
If Luke had gone through with burning down the tree, believing that the Texts were still inside, then breaking down in tears alone after realizing what he’d done, that for me would have been far more powerful and kept Rey as the central figure in Luke’s return.