You got me there. htop is probably the one terminal app that I regularly use that has important FN keys. Still I bet only one out of 5 times do I actually use the FN keys in htop. I suspect that of the amount that I use them, Apple's access to old function keys via the Touch Bar will be fine for me.
(And I can always pull out my Happy Hacker Keyboard)
I have esc remapped to capslock on my laptop, but how easy is it to remap keys in OSX?