The mind is very powerful, enough so that placebos work, to some extent at least. So feeling good about what you've done could, I suppose, have some physical effect.
Nothing to do with your imaginary friend though.
Nothing to do with your imaginary friend though.