The most plausible explanation to anthropogenesis I foudn is in Yogananda's writings.
God really created us in his image, demigods, nearly perfect spiritual beings with powers we cannot imagine. But he chose to give free will to us and to all the created intelligencies. that's why he let Lucipher, his rebel lietenant, alone. And when God decided that he could not intervene against his creatures' free will, he had to accept an imperfect cosmos and the presence of a force (Maya, Satan, Evil) which is doing its best to keep us from evolving spiritually.
Well I dunno. The very definition of God is anything and everything is possible.
That would mean God would know the outcome of such a creation beforehand.