On iOS, is it possible to get RGB data from the camera?

I would like to use the RGB data from the camera on iPhones.

The Media Framework only supports Android and Windows for camera streaming.

The Handheld AR template gives you a shader ‘AppleARKit/ARKitCameraMaterial’ which is the camera feed that you can use as a material. I’m not sure if can actually get the RGB data out of the material because that doesn’t git you access to the raw data.

Any ideas on how to get that data in an Unreal Engine iOS app?