Yes. William Shakespeare named the protagonist of Hamlet after his only son, Hamnet Shakespeare, who died at age 11 in 1596. The playwright’s grief likely informed the play’s profound exploration of death, mourning, and existential doubt.