Yeah, that's unfortunately the only non-cheating way to do that. If you want to cheat, though, you could try running the command
/c local s = game.player.selected; if s and s.name == "factory-power-pole" then s.destroy() end
while hovering over a factory building's inside power pole to destroy it, so you can then place power manually. I'm reasonably sure this won't break anything else about the mod, but you should back up your save before trying this anyway. Of course you also can't replace a factory's power pole without another command.