That’s a complicated question.
I think that there is absolutely nothing against using AI to make images.
But let’s say we call such an image art. Then the question arises: “Who’s the artist?”
If for instance a king ordered a painter to make his portrait, then would you call the king the artist and the painter the tool they used?