Just to further explain, this wouldn't change speed but rather be able to set timers and requests for items or maybe only craft a certain item when it is needed. It should not be game changing and only provide QoL improvements to those who need it. I myself have played a lot of Factorio and found myself building all sorts of contraptions with the logic, but i always missed the feature of programmability, so that is why i have suggested this.
Programming would in my opinion actually fit the style of the game, since it is a game about optimizing your factory and programmability would help with that.