No, Harry Potter did not marry Luna Lovegood. In the series, Harry marries Ginny Weasley. Luna Lovegood marries Rolf Scamander.