is it possible (via an osascript-run AppleScript or JavaScript) to tell whichever app is currently frontmost (if the app is scriptable) to display a tooltip with a provided string of text?
No.