There was a tool a long time ago that did this for an n64 emulator. I tried it and it was fun for a while but predictably would crash often. There was also a glitch art project that would corrupt specific segments of famous image and video files to create something new. I wish I could find either but I cannot.