What is it that you want to install on ChromeOS that you are unable to? All of the usual Linux and open-source stuff works fine on the built-in Linux environment on it. Possibly even a little better than MacOS in some cases, since you don't need to worry about Apple app signing. There's not literally nothing you can't do, but the list is a lot shorter than most people think, especially those who haven't really tried ChromeOS in a decade and think they're all a glorified web browser on $200 hardware.
But if I don't want to have to use a VM?
Well, then you can only put it in dev mode and use chromebrew. Which I am glad exists, but even installing node can be a pain and the way to get it running changed over the years.
You can technically run anything you want on both without resorting to hacks, it's just a question of how annoying it is.