Ghidra is good for reverse engineering, not so much forward. Oh ok, yeah I think you'd like qemu and gdb. For supported microcontroller (popular ones) even the hardware is modeled nicely. Assembly writing and debugging is not a problem. The issue is, if you chip is supported in qemu.