Today, we would call what Joseph Smith did “automatic writing”.
It may have been that. Let me tell you what a retired USAF CMS in Texas, told me. He was an expert on the false religion of Mormonism. His idea, was a lot simpler than that. Joe Smith was a con man, a teller of tall tales. He thought Smiths motivation was simply to write a fairytale, and make some money on it. He said he didnt think Smith intended to start a new religion, but it got away from him, so he went along with it.
No matter how it came about, the Book of Mormon, definitely is a fairytale, that will land millions in the lake of fire.
Process; yes; but CONTENT??
I’d be a bit more blunt than that!