I already have a story for this, though the kid is a girl and the imaginary friend is trying to pursue a romantic relationship (despite the feelings being one-sided/the fact that's impossible.) <<that sounds so sweet!
From Ernst Lubitsch’s Heaven Can Wait (1943). The protagonist’s birthday is October 25. (It’s my birthday, too!)