You have a bad understanding of what mental illness is then. Imaginary friend is a coping mechanism not gateway to becoming crazy.
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.