That depends, personally I don't believe that infinity exists within this universe. So therefor I would be inclined to think that God wouldn't be able to create an infinite thing since that is a thing with contradicting characteristics (like a squared circle, or a dark light). This is of course biased by my belief that infinity doesn't exist in this universe, which is my personal opinion, and not a mainstream Islamic nor scientific fact. Still I don't see this in a flaw of omnipotence, since I don't think the semantical value of omnipotence includes the possibility of creating impossible things.