My instance is often not syncing with anything bigger at all (.world, .ml) so I too have been thinking about this.
Though my idea is a python (or anything quick) script that would run as a sidecar to the lemmy database, it would accept a link (thru cli or secured http request) to community, post or comment and insert it directly into database.