My investigation on the issue: I can't find a convenient folder/list/registry location we can scan to add games (using ProcMon). I would guess that Origin works like this:
Authenticate user, download list of entitlements
Entitlements contain registry keys that are set if they are installed. This is how the UI knows if a game is installed or not
It would be good if we supported Origin.