There are a million things God is unable to do; lie, cheat, murder, you name the sin God can’t do it.
Including “Thou shall have no gods before me”.
Not so, else God wouldn't have sovereignty of will, otherwise known as free will. His decision not to do these things does not mean He can not.