I wonder if this could be induced in people who suffer from hallucinations to reduce or eliminate their symptoms? Maybe their system is rigged into overdrive the other way. It says on wikipedia that there are 'cases reported of acquired aphantasia'.
(I shudder to think how differently things could have gone if I had been misdiagnosed with a severe mental illness when all I actually have is an unusually powerful imaginative ability.)
I also found this study asking a similar question about many different types of mental illnesses, though some of it is about making people that have aphantasia better able to visualize to treat things like PTSD: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9614338/