Frank Herbert totally invented all of this stuff out of thin air and didn’t have any historical precedent to work with at all.
I mean, obviously the holy war and spice was based on the Middle East and oil, but getting “fat orange pedophile god-king” right is a pretty incredible coincidence. And it would be Lynch’s prediction, not Herbert’s