Imaginary friends are a familiar fictional device, as demonstrated by these examples from popular culture:
The tiger Hobbes, in Calvin & Hobbes (comic strip)
The toy bunny, in The Velveteen Rabbit (book)
The invisible rabbit, in Harvey (film and play)
Humphrey Bogart, in Play It Again, Sam (play and film)
Frank (a man dressed as a grotesque rabbit), in Donnie Darko (film)
The Great Gazoo, in The Flintstones (TV)
Snuffleupagus, in Sesame Street (TV)
Citizens of the Neighborhood of Make-Believe, in Mr. Rogers’ Neighborhood (TV)
Danny’s friend Tony, in The Shining (film)
Wilson the volleyball, in Castaway (film)
Tyler Durden, in Fight Club (film and novel)
Fred, in Drop Dead Fred (film)
Captain Howdy, in The Exorcist (film)