If it doesn't exist you can probably wedge it in fairly easily.
I suggest that it would be worth your time to give it a poke just to see what a thoroughly excellent example of software engineering they've made there.
First I'd use it to implement an email reader, and then ... more Factorio mods!
Then Terraform integration.
https://en.wikipedia.org/wiki/Jamie_Zawinski#Zawinski's_Law
If you go that route, let me know when your emacs implementation is complete. I'll replace my OS with Factorio.
i got bored / sane after the first 10k SPM base, ~1,200hr. then i got into making "me" mods.
I used to play Factorio.
I still do, but I used to, too.
https://www.youtube.com/watch?v=VqHA5CIL0fg