Scanning for the combat log activity would allow for all forms of content to be recorded. Arena, BG, Raid, M+, ect. SquadOV had something similar but sadly they had to shutdown. Their Source code is released so may be something to easily implement going off how they did it.
this times a millio