You can get a pretty good cappuchine machine or espresso at Walmart for $200/then it’s just the cost of coffee after that.
I got an espresso machine off Amazon for about $120. To my surprise it’s now in its fourth year of daily service. I do strong Americano only. I buy green beans from Costa Rico, Guatemala and Columbia, do a roast about every 10 days and enjoy the freshest cup every morning. I made my own roaster out of a heat gun and flour sifter. Yes it’s a process so I consider it a hobby. The cost of beans has gone up so I now estimate my cost for beans at about $100 per year.
Better: buy a 3-cup or 6-cup Moka pot, preferably made by Bialetti. Costs $20-35 new, or much less at an estate sale/ garage sale. Once a year, replace the gasket ($3).
The Bialetti Moka pot delivers a first rate cup of coffee. All you have to do is clean it before you use it and feed it decent coffee. I’m sipping what amounts to a quad shot of Lavazza as I write this.
You can get an even better French press an lots of places for $20!