No. Moaning Myrtle is a fictional character created by J.K. Rowling for the Harry Potter series. She is the ghost of a Ravenclaw student who haunts the second-floor girls' bathroom at Hogwarts after being killed by the Basilisk (under Tom Riddle's command) in 1943.
She serves narrative purposes: providing exposition (the Chamber's location), comic relief (her melodramatic personality), and supernatural atmosphere. No historical, mythological, or real-world basis exists for her character.