
Different. The snippet you provided has more in common with Shifter Wildshape than Bear Form, except that Shifter Wildshape uses a mathematical formula instead of an if-elseif chain to compute the final ability scores fed into SetBaseAbilityScore.
Either way, the technical precedent exists, so the only question is whether there is a reason to apply that tech to Bear Warrior (i.e. whether the current behavior of Bear Form is unsatisfactory). Answering that, I fear, is going to be even harder than convincing Dae that the tech is safe (enough) for use here.