If quality isn't a primary concern, all-in-one machines are a decent trade-off.
They're still decently good, will work with whole beans from anywhere you buy them, initial cost will be pretty high, but coffee will be cheaper than capsules, and maintenance isn't worse than a Nespresso machine.
The problem with those is the grinder only lasts a year or two and replacing it is extremely costly. Near the cost of a new machine.