This is a grey area. If an AI generates all the art for you no. If the AI helps you make the art in the program you use then that's fine. For example using a sapling generator in Blender is okay but asking an AI to draw a tree for you is not. To be safe, the more you do the art yourself without the help of AI the better. With coding anything goes.