I get the point the OP is asking. I think when George Burns played God in “Oh God”, he put it right. “Have you ever tried to create an up without a down, a left without a right?”
I always thought that the devil and his followers “defected” because they were jealous of God’s love and affection for man. The older sibling could relate to being the light of the father’s eye until the new baby came along who couldn’t do anything but eat, scream, drool, and fill a diaper. I always cringe when someone said the devil fell. He didn’t fall, there wasn’t a banana peel in Heaven, he jumped.
I don’t think the Father (God) tempted the devil by giving him (the devil) free will and then set things in motion for him to fail. That doesn’t seem to fit the Father, Son or the Spirit I trust in. But, being omnipotent, omniscient, omnipresent…whatever, I think that God knows what is happening and trusts each one of His creation with the choice He gave. It is a tremendous responsibility after all. I think when we are tempted and choose God, that is as pleasing to Him as when a child makes a choice to be helpful or obedient to his parents here on earth. I think the word temptation we use usually means to dangle something in front of someone to get them to choose something YOU want them to pick (even if it is not in their best interest. Such as tempting a person on a diet with a big piece of chocolate cake).
I would think, that our Heavenly Father, if He wanted to tempt the devil and then man, in the beginning, would have presented Jesus (in His Glory) to them as proof to what creation could be, should it choose total obedience to the Father…and therefore it would be made more perfect. (Or it could choose imperfection and death and all of the things and feelings that go along with it) Looking at it from the other side, even though that (perfection) would have been better for creation, imperfection might seem more exciting (if you could wrap your head around the possibility in a perfect state of being).
But the “story” would have been over there, now wouldn’t it? If it were a book, you would have put it down after the first and only chapter.
I still say God knows what the plan is.

That’s my story and I am sticking to it.