Things like that are widely available over here in the professional setting, as an example my father has a row of those over the wet-cleaning machines, each has 6 pumps for detergents and additives: they are programmed to fill with certain products according to the selected cycle on the machines, he simply has to keep the tanks full in the storage area and everything is done automatically.
Anyway, also in the domestic setting there are systems like that (albeit much simpler) like the Fagor/Brandt top loader with integrated reservoir, Miele with its reservoir on top or Hotpoint with the automatic dispenser for detergent and softener in the pedestal or built in the machine.