In the community of special needs teens and adults imaginary girlfriends are not rare. Imaginary children on occasion. Imaginary careers, colleagues, relationships. Often based on real people. Belief shaded with grief.
This doesn’t get discussed in parenting books.
I am not sure if this is delusion or something else.