Yes. Actually, the OP is all about driving gdb from Ghidra. It is only one part of the larger "Ghidra Class" (see repo's parent folder). The parts are:
- Beginner
- Intermediate
- Advanced
- AdvancedDevelopment
- Debugger (the OP)
- ExerciseFiles
Question: looks like Ghidra can be used as a GDB "interface", is that correct?