Using ChatCPT to help you after you have been stuck and struggled would be equivalent to asking a senior. A senior might hallucinate an answer too, but either way you will get pointed in a generally useful direction. That’s usually all it takes
But as a senior, I can’t imagine using an LLM at this stage for solving anything meaningfully complex.