Is Halloween based on a true story?

No, it's not. It's 100% fiction.
No, the movie Halloween is a work of fiction.