Last year I did a hobby project on my Intel MacBook where I passed through the shared iGPU to a windows VM running on Linux and it worked very well with minimal performance penalty after full optimizations. I don't even know if AMD supports this feature, but would Apple M1 support it? Thanks
[1[ https://www.reddit.com/r/VFIO/comments/5bwp4u/what_is_gpu_pa...
You won't be able to do viable GPU pass-through for quite some time and even then, it will not work like you think.