Yes, there are some dual coffee makers that come with built-in grinders. These allow you to purchase whole beans instead of grounds and grind them before the machine starts to brew. Many coffee machine manufacturers have them as options.