Depends.Is there anything like this for Pro Action Replay codes? Or Raw codes?
Anything with a game genie/ROM patch codes for the system can be trivially added, it literally being where to patch the ROM and what to patch it to.
action replay/gameshark/codebreaker/goldfinger/anything else in the same category you might see on https://web.archive.org/web/20191123185806/https://doc.kodewerx.org/ aka RAM based codes are a different matter.
For the GBA and DS then yeah.
GBAATM and DSATM from the same author as this tool both represent what most go in for when patching GBA and DS games, though you can also hardpatch cheats.
https://gbatemp.net/threads/gba-auto-trainer-maker-gbaatm.99334/
Though there is also a new fork
https://gbatemp.net/download/gbaatm-rebirth.36493/
https://gbatemp.net/download/dsatm.31528/
There is some stuff happening for the N64 as well but it is less advanced last time I saw it (which was about a year ago). Not sure where it is at right now either.
Anything newer that had the binary (or equivalent) in RAM and a cheat targetted at that is in essence something along the lines of the game genie and you can go back and patch the binary based on its location in RAM (might also have to figure out any compression along the way if it is compressed). Not really seen anything there either, though if you are running custom code you probably have better means anyway.
Anything 16 bit or older is likely always going to need manual patching (or some big database of all games and entry points or some super AI*).
*I suppose I can see a path for something like the steam autoplayer AI thing (or just human play) and a trace logger to find the vblank routine in game.
General idea. As mentioned game genie is basically patch the ROM at this location so easy to patch in.
RAM stuff changes because it is RAM and that is what devices use to store data in use.
Cheat devices in hardware add a little bit of code that once a frame will write data (or check something and write data in more advanced setups).
You then need a means of inserting a bit of code into the game. Easily enough done with the vast majority of GBA and DS stuff (see https://web.archive.org/web/20120813230516/http://crackerscrap.com/docs/dshooking.html and if you are unfamiliar with cheats in general then https://web.archive.org/web/20080309104350/http://etk.scener.org/?op=tutorial for a general overview of what such things entail) which also were reasonably simple compared to older stuff and had enough excess resources that you can comfortably insert things without too much concern.
On older devices then code can be anywhere, might well have had all manner of fun quirks, minimal space to stick even a few extra instructions in, possibly timing issues... all of which can be overcome happily enough (see how many such devices have games with trainers for one; trainers are basically this) but you want to be a hacker that knows some assembly coding to pull it off rather than a simpler automated program, and nobody is likely to program hooks for every single version of a ROM for any given system (even the N64, failure that it was, is just about squeaking past 1000 total, anything else many times that, arcade might be different as individual boards often have far less).