RetroPie - on the Pi models - doesn't use the desktop at all and it runs as a dedicated application (EmulationStation) from the console. If you want to use your Pi4 as a desktop enabled computer, perhaps it would be better to use Raspberry Pi OS and install the same emulators that RetroPie uses and run them standalone.
You can start RetroPie from the desktop environment, but it's not a supported configuration and not something we recommend.