This question already has an answer here:
Suppose I love someone so much, but cannot marry him. Now I've decided to marry another person, as per my parents wish, and I'm loyal to my husband fulfilling all his demands and obedient. But I'm still in love with the previous person in my heart. So can I ask him in my dua that I get his name in life after death? I want to be with him in jannah. Is this dua valid?