Stack overflow results
Short answer, yes. If your processor support self-programming instructions, and you execute arbitrary memory as instructions due to stack overflow, anything the processor can do is possible. Usually self programming requires some conditions to be met,  but specifics depend on the processor.