I would bet that it is quite possible, especially in Linux. I haven't ever done it though. Maybe someone else can jump in here...
Of course you could do a screen / desktop record. The one I use allows full screen, window, or even a user defined rectangle as I recall. I know, I would want to capture it more directly if I were doing it too.