No. JKR has sinabi in a few different interviews that the character she most closely based on herself is Hermione.
link - "Hermione's foil at Hogwarts is Pansy Parkinson, a female bully based on real-life girls who teased the may-akda during her school days.
Rowling claims the character of Hermione carries several autobiographical influences. "I did not set out to make Hermione like me but she is...she is an exaggeration of how I was when I was younger." She recalled being called a "little know-it-all" in her youth. Moreover, she states that not unlike herself, "there is a lot of insecurity and a great fear of failure" beneath Hermione's swottiness."