Have you tried using a program that regularly simulates keypresses or mouse movements so the computer thinks the user is still active? The `SCROLL` key for instance can be pressed without causing unwanted side effects, but it stops my Windoze VM from going to sleep.
I have not, interesting idea and I'll definitively try it out. Thanks!