For completeness only... If you are already a user of Karabiner Elements, here is one interesting idea regarding low-level remapping of the fn key:
However, from a very quick Web search, I get the impression that the results in this case would not be guaranteed.