Heat the avocado oil in a large skillet over high heat. Brown the ground beef, leaving it undisturbed for a few minutes, then break it into very small pieces and cook until no longer pink. Drain a little excess oil if needed.
Stir in the onion powder, garlic powder, salt, and optional beef bouillon base.
Add the ketchup and BBQ sauce. Add water a little at a time until the mixture is thick, glossy, and saucy. Simmer over low heat until the color deepens and the edges begin to caramelize.
Heat the oven to 425°F. Toss the potatoes with avocado oil and a tiny pinch of salt on a sheet pan. Roast for 25 to 30 minutes, stirring once or twice, until golden outside and tender inside.
Remove the potatoes from the oven. Add the butter and toss until melted, then add the ranch seasoning and toss again to coat.
Serve the sloppy joe mixture on softened hamburger buns with pickles or pickled jalapeños if desired, alongside the ranch potatoes.