Yes that's actually what Looking Glass was mainly built for, you can game without using a program like Barrier or Synergy to pass inputs back and forth, and you can game on one window and have your work on the other, so context switching is a lot easier. Performance is basically 95%+ of native speed.
Also check out their GitHub and quickstart, they have more details. The main thing is you have to run it both on Linux and Windows.