Highlight Location works by displaying a custom window with mostly transparent area, and drawing in to that.
No, I do not know of any way to do that within AppleScript.
@appleianer mentioned using a floating HTML action in BTT that looks like it does something along those lines at: