From a fabricator’s viewpoint, is it best to do as much machining as possible before anodising because of the increased surface hardness?

Machining before hard coat anodising is much easier and saves considerable wear and tear on the tools. A good rule of thumb is that the hard coated surface has about the same hardness as nitrided steel (about 50 + Rockwell “C”).