The only thing I know of is Moonshell, but that only takes screenshots of Moonshell.
IIRC there are carts that have ingame menus, M3iZero I believe, that can do 'basic' stuff like cheats (and I think I heard they can open small text documents?) so it doesn't sound out of the realm of possibility... but improbable is more likely because it would have to be done at the flashcart level not application level.