I think using ChatGPT for learning is okay, assuming the user is actually interested in learning. If you just want to get something done, you're absolutely cheating the task at hand, and your future self.
ChatGPT truly shines when you ask it follow-up questions on the thing you want to learn about and really "delve" (hate that AI ass word) into different aspects to internalize them yourself.