I don't think it's fine. Don't lie about your work.
Which is why we need regulations that create obligations to disclose AI usage
AI isn’t good enough yet to make things autonomously, so someone who harnesses AI to make something can, at least in my eyes, claim they made it (AI isn’t just a tool).
If and when AI becomes autonomous, the human ceases to be the creator in my view since they are no longer in the creation loop. Then you cannot pretend you made the thing.