sort of, but without the commit lineage requirements? I haven't used Gerrit.
It's currently a few lines, looks for the branches and commits based on some strings, and prepares a bash script to run the gh cli to open PRs that are chained/stacked together. Was looking at these for reference.