I don’t have much of an idea of how to do all that but I’m going to guess it is very possible but would require “reverse-engineering” GD, maybe with something like Cheat Engine.
If you run down GDTH (GD Trained Hard)'s feature-list, you can see evidence of the capability to do many similar things…
…unfortunately this tool is long dead now. It appears the original author tapped @GlockenGerda for advice way back, so, who knows?
–
Essentially tho, what you want to do is beyond a “mod” and would more than likely require you to have some programming knowledge and ability.
