Yes! I've done something like this here in my repo. This was nice while lasted (Deepseek is practically useless through the API since yesterday)
https://github.com/bodo-run/yek/blob/main/.github/workflows/...
https://github.com/bodo-run/yek/blob/main/scripts/ai-loop.sh
Using askds https://github.com/bodo-run/askds