The distinctive point of "Rubber Duck Debugging" is that a person explains everything to an inanimate object that will not, cannot, hear, perceive, talk back or react in any way. It is a monologue, not meant to be overheard or create action items by anyone but the speaker.
By contrast, spilling out one's problems in a conversation with a chatbot, such as ELIZA or an LLM, is a dialogue. So perhaps it is not necessarily a rigorous Socratic Method, but there are words and feedback going back-and-forth.