I would like to run desktop applications (for debug and research purposes) on a Google Colab notebook. Is that possible?
Check GNU Colab.
With it you can easily have a whole persistent desktop environment running on top of a Colaboratory VM instance.
Here's a video demonstration.