I'm not convinced deliberately trying to create an imaginary friend is a good idea. It sounds like deliberately inducing mental illness.
Not sure if you can simply create that by willpower/meditation, though. Although it seems very likely that it is possible to deliberately fuck up one's mental health. After all, it is possible to fuck up one's physical health, too.