Simulation of a microcontroller with external components such as GPIO, Display, Analog-Sticks

I've already used QEMU to emulate a Cortext M4 based board. Is it possible to emulate other external microcontroller components like LEDs, GPIO, Display, Analog-Sticks? I'm clueless about where to start. I really appreciate it very much if someone could give me some tips or references for a good starting point.