docker for mac will allow you to run anything you want inside a container. I like to use temp containers to build things without the pain of setting up tools
What's the difference if you install GNU/Linux on a Mac, will you regret it?
edit: to answer your question: you'll probably encounter bugs and glitches, as the hardware may not be fully supported. i've heard of issues with wifi, bluetooth, power management, etc.
desktop apps in docker are just a matter of mounting relevant drivers and files in the container
But this highly depends on the quality of Internet. Every PC can do it with a X11 client.
This is a good try, but not very practical.