> openly licensed
That's not specific enough. If it's "public domain", "do whatever you want with this and no attribution required", then sure, use it for whatever.
But if it's a license that requires attribution, like the CC licenses, then it's wrong to "train" so-called "AI" systems on that, because what they will do is to throw away the info about who the author was, and then generate "new" things as if they were "authored" by the "AI" system.