Such things are possible. Psychotic patients do hallucinate, have delusions, disorganized thoughts, etc. Are you unaware of the existence of psychosis? Have you ever heard of a delusion?
We need to acknowledge that people can do horrible things without really understanding what they're doing. They shouldn't be treated as criminals, because they're not. They should be treated as mentally ill patients who are very dangerous.