I suppose I should be nice and give you a better answer than "yes":
Encoding requires 3 things a machine doesn't have:
Visual recognition of quality,
Aural recognition of quality and
prior knowledge of game graphics/audio complexity. While these could likely be implemented with specialist AI, it would take an extremely large amount of time and resources to make, which I find it doubtful that anyone here has. Even then, I doubt it would make up for a human encoder. To some extent, x264 has some visual recognition of quality, but even this requires human input to set its strength.
That said, a large amount of the process can be automated with batch files. The encoding process is
no secret but it should be noted that there are many challenges with getting a good size:quality ratio. The biggest challenges are solved with time and patience (something I recently have an abundance in).