Is Controlling features inside kodi with a remote possible?

Title pretty much explains it all. Is is possible to program buttons on a remote to say open up tv shows, music, movies, etc. and could it also be possible to make it some type of file that owners of builds can implement into their builds?