That's interesting, but do the Google Colab Terms of Service allow this? The article goes into how, but not if you're allowed to. Until you're certain it is allowed, I would suggest not using it. You don't want to be locked out of your (at best) colab or (at worst) Google account because you wanted a fancy IDE.
I think in general you can run arbitrary code on Colab. That's the entire point. Your CPU and RAM usage are monitored and rate limited; you have to pay $$$ for more powerful specs and at that point if you're paying them I doubt they care what you're doing with what you paid for.