"A lot of people think so but they and you are actually completely wrong. There is a tremendous amount of judgement that goes into accounting and much of it is anything but rigid. Surprisingly few people actually realize how arbitrary many of the choices that go into accounting actually are."
I do work in the finance department of my company, and what are you saying is mostly true, to an extent. Basically, when a product or service is introduced, there are some relatively arbitrary choices that are made up front. The company can decide what methods they will use to account for specific expenses (inventories counted as first in, first out; first in, last out; or cost averaging, for example). Once you have a basic framework, each individual item has to follow the rules that you set up for yourself.
This can cause a few headaches for a company, because how they decided they will account for expenses often doesn't turn out to match how the realities of the business function. So you end up creating conversion tables, ETL processes to move transactional data from an operations perspective to a financial perspective, shadow IT tools to help people navigate these arbitrary complexities, etc. It is very difficult to change the underlying assumptions, so as the business changes, the rules become increasingly more aribitrary-seeming.
It would be nice if our accountants were actually software people and could update rules and definitions or restructure a complex system as necessary, but that isn't the world we live in. So in the mean time, people like me exist to sit down and talk to the accountants and write the rules that allow us to comply with SEC requirements, etc. Could that work be automated? Maybe. With current commonly available tools? Unlikely.