A great idea that probably won't work.
Most "stuff" is pretty darn cheap to make, given either smart factories or the nimble fingers of Vietnamese children. So cheap that manufacturing cost is a pretty small percentage of the sales price, which is usually set by other factors. An order-picker at a US warehouse that stocks your coffeemakers and their replacement parts probably makes 8 times per hour what the person made who originally manufactured it in some factory in Asia. Prices are terribly arbitrary, which is why most items are available on "sale" at various outlets much or most of the time.
If "Right to Repair" measures are passed, I assume that the manufacturer of your coffeemaker--on which Plastic Widget #303 routinely breaks after two years' use--will be happy to sell you a new PW #303 for about the same price you'd pay for new coffeemaker when it's on sale at Macy's.