Fascinating idea. ** I regularly import images /into/ Earth: weather maps and so on downloaded by external scripts. But I can't remember whether there's an export facility, and I don't know whether there's an API (i.e. over a local socket/FIFO/pipe) to trigger that type of action.
My suggestion would be to look at whether any extra sockets etc. are created when Earth starts up, and to research any APIs etc. which were documented before Google bought it up. There's much more in there than most people realise... and I also notice that its reliability is improving, so there must be somebody working on it even though it's been eclipsed by Maps.
Otherwise, as a fallback, I'd suggest researching whether QGIS can do what you want. But to be frank, when I was last looking at this sort of stuff I found Earth's ability to e.g. do a timed reload superior.
MarkMLl
** Edited: I'm assuming that you're talking about Google Earth running as a desktop program, rather than the more recent "Google Earth Engine" which is a "cloud-based" system and to which
https://xkcd.com/1481/ applies.