That thing with the engine is just, that stockfish can't handle custom pieces, as far as I know.
"Chess, but..." series

I think Fairy-Max, by @HGMuller uses an external configurationfile containing the piece movements. That allows for certain changes to be done without having to alter the code and compile it.
https://home.hccnet.nl/h.g.muller/CVfairy.html
Would be great if you could script/ run mods onto the default chess game from which figures even exist to how figures work. Excuse if it already exists and I'm just dumb, but it would be cool to be able to add mods onto chess.com, and then having the engine analyze possible games with those modifications.
Example modifications could be:
After 4,000 years, chess players will finally be able to update the game.