Eh. In the days when the animals talked, there were keyboards with generic function keys in a top row, with enough space around them for a plastic template sheet labeling the keys with functions for specific software.
Some templates came pre-printed for specific packages, some were blanks for pencil-your-own. Rarely used, but at least those thingies were cheap and did not remove real keys.
Such things were even part of marketing features, lots of old calculators had them. HP calculators even had dedicated modules paired with custom .... stickers (or overlays) to adapt "like" the touchbar.