It’s supposed to be fun. As long as you’re not cheating the global leader board - which this approach doesn’t - why not play however you want.
I like go to overboard writing parsers for each day.
From the about page: "... However, you should do Advent of Code in a way that is useful to you, and so it is completely fine to choose an approach that meets your goals and ignore the leaderboard entirely."
Is there really a wrong way to do it?
Yes, with ChatGPT or similar: " Can I use AI to get on the global leaderboard? Please don't use AI / LLMs (like GPT) to automatically solve a day's puzzles until that day's global leaderboards are full."