This isn't as hard as some people make it out to be. If God has to obey logic and/or other laws, then of course, there are some limitations to his power.
Could a dictator decide to set up a Constitution and limit his own powers? Of course. Having absolute powers means having the ability to limit your future power.
Could a dictator decide to set up a Constitution and limit his own powers? Of course. Having absolute powers means having the ability to limit your future power.