You can technically run anything you want on both without resorting to hacks, it's just a question of how annoying it is.
On a Chromebook you can install the Linux Dev VM with 5 clicks in the settings and get a fully featured Debian VM.
On a Chromebook you can install the Linux Dev VM with 5 clicks in the settings and get a fully featured Debian VM.