We generally frown upon the projection of an aspect of yourself onto some thing or someone.
It’s seen as weakness, or a form of paranoia or delusion.
The projective personality probably has problems.
But consider mathematical projection: the data mapping of some aspect of an object onto another object. It happens all the time in mathematics. Is it illusion? Morally incorrect? No, it’s just a function, a projection function.