Resize selected/highlighted image inside a Formatted HTML note?

I’d like to change the size directly somehow. Can this be done with AppleScript, like “Scale selection by 50%” or “Resize selection to 300px”

The new Markup tools don’t allow for image editing in this way, only lets me change text (I think)

I found this old topic, but not sure if it’s similar.

I’m also aware of the Image AppleScripts, but again, these are for dedicated image items, not images inside a note.

No, this is not possible.
You should size images before putting them into a document. This is especially true in formatted notes, since the data is embedded, not linked.