Yes, indeed. With ir-keyrable you can determine the scancode of the buttons of your remote and save it in /storage/.config/rc_keymaps/doesn'tmatterhowyoucallit as you already did before.. This is described in the libreelec wiki and on the forum thread for amlogic devices. The point is you can map how you want it just choose any available action from the lircmap.xml to a button of you remote. It's not because on the button there is a 1 you should map it to KEY_1. If you want epg on button 1 then you map it to KEY_EPG. If you don't find the specific key in lircmap.xml then you take just a available KEY_ you don't want to use for another action and then you map it in remote.xml to the action you want iti to do.
For example my red button on my remote is mapped to opening the netflix plugin: <red>RunAddon(plugin.video.netflix)</red>
The default actions of your remote that or connected with lircmap.xml or defined in /usr/share/kodi/system/keymaps/remote.xml
Just read the wiki and forum post on the libreelec site and the wiki on the kodi site. Check some examples of remote.xml, rc_keymap and the lircmap.xml put them next to each other and find the links. adjust some stuff just to test and test it. Eventually, you willl figure it out.