Here, for a while at McDonald’s there was an 🍔 called “the 1955” and it was the best, big pieces of onion, an special sauce, buns and big piece of meat (for Europe standards anyways) it disappeared once and came back for an encore for a while only to be removed again and never return.
You’ll probably want to start with dry beans. Canned ones are likely just going to be beans boiled in regular water. Meant to be an ingredient in something rather than the star. But if you make from scratch you can add in flavors: onion, garlic, etc.
Plenty of recipes online.
When making refried beans make sure to use pork fat of some kind. I use bacon fat.