Yes. Beast boost can be manipulated. The way the thing works is by increasing the highest stat after a kill so all you need to do is manipulate the evs, ivs and nature to get ensure the stat you want to get boosted is the highest. For example, you wanna boost Kartana's speed every kill but because of its enormous attack stat, attack is the one that gets boosted. By changing its nature to timid and adjusting the ivs, you can get a Kartana with higher speed than attack thus getting faster with every kill. The same can be applied to Nihilego and while speed boost Kartana is nearly non existent, speed boost Nihilego is the common set used by ou players. Here's how they work
Kartana
EVs: 252 HP / 4 SpD / 252 Spe
Timid Nature
IVs: 19 Atk
Nihilego
EVs: 80 HP / 176 SpA / 252 Spe
Timid Nature
If you punch this into the calculator, you'll find that Kartana with this set would have 347 atk and 348 speed while Nihilego would have 334 SpA and 335 spe. Upon getting a kill, instead of their regular offensive stats being increaseed, it is instead their speed stat
Having said that, I would imagine that there are limits. If the gap between the ub's highest stat and the one you wanna boost is too high, it might not be possible to adjust the three things I mentioned earlier so that the highest stat's value would be lower than the one you wanna boost