Nanoscale electrostatic control in ultraclean van der Waals heterostructures by local anodic oxidation of graphite gates