In canon, Harry Potter only has a romantic relationship with Ginny Weasley.
No character named "Emma" exists in the Harry Potter universe. You may be confusing her with a character from another franchise or fan fiction.