A simple bash function/script with the executable name as simple as "em" so basically what I can do is
em git commit -m " :D"
Parse all arguments passed to "em", join them to make a string(since they will be separated by spaces) and convert the text-icon into emojis and then call the desired command again.