Yeah sure that is possible - but you cannot achieve the same results as actually writing the code.
If you are going to write the code, you need to understand the full problem space, at which point you can see the simple solution.
If I need to figure this out, writing the code is not a problem and Claude becomes mostly an annoyance.