Capture gameplay as a game feature?

Yes, just use Runtime Video Recorder:
https://www.fab.com/listings/36bd136b-2942-4403-9428-96a430ca71ee

I created it for purposes of capturing gameplay!