Yeah, should be easy actually. Maybe put them at the sides or the back though, because the factory doesn't actually go all the way to the front of the hitbox and it would look weird.
Also the layout changes only apply to newly created factory interiors (and are permanent afterwards), so you could change the layout in control.lua, then place your main factory, then change the layout back. This way only one of your factories has extra inputs.