Yes, it might be possible. You'll need to modify the autostart script in /opt/retropie/configs/all/autostart.sh and start either Emulationstation or the desktop - depending on your current TV connection.
There's a way to detect which output is connected (see this topic), so you can use something like this: