I've been looking for a solution like this for usability testing and the only comparable solution I found was screen recording that was restricted to jailbroken iOS devices which lead me to believe screen recording was one of those areas that was restricted by Apple.
If this feature or a similar one was added to an app (turned on via user consent or otherwise), would Apple approve it? This is limited to one app and essentially another analytics plugin.
Of course, this isn't a big deal if you're only testing a beta in restricted sessions (and the headline explicitly mentions beta users) but the potential for this in real world testing is huge.