For craplights like that, it’s overkill.
Each LED should draw no more’n 15mA or so, 20mA max, and they’re all in parallel, so who cares if you’re powering it from a USB charger and “waste” 1/3W or so? A single resistor is way easier to wire-in than going through the headache of designing and building a driver, and hoping it works.
Even 50¢ for a buck-board would drop the voltage, but not limit current. At least, not without a resistor! And chances are with current so low (160mA-180mA for the 9 LEDs), the power used by the circuitry would barely offset the current/wattage savings vs a simple stoopit resistor.
Think of it like shopping around for the best gas prices in the neighborhood. Go a few miles away, and you save a few cents per gallon. But if your tank only takes, say, 10gal on a top-off, how much did you really save? Sure, maybe a buk in terms of cash, but how much did you waste getting to the cheap station across town and then back? And the time/effort wasted planning it all out?
Not worth it, not to me. Bad enough I got too many projects stalled for one reason or another, vowing to roll my own as far as a fancy driver, vs throwing in a resistor whose value I worked out in my head? No contest…