The game addons in kodi Nexus added support for that, but I never tried it (also I suck at gaming so there wouldn't be much achievements for me to publish
Note that retroplayer is currently broken in LE11 nightly builds due to a longstanding bug in kodi which was just fixed a few hours ago https://github.com/xbmc/xbmc/pull/22195
We'll include the fix when kodi releases Nexus RC1 which is planned for end of next week https://github.com/xbmc/xbmc/milestone/151 - so LE11 nightlies in about 1.5-2 weeks should have that feature available.
so long,
Hias