That might be, and still it exploits an AI, that can't handle something like that.

It's similar to just collecting every oil and ooze barrel on the island and stacking them around the boss, before you make them explode all at the same time. Sure, it's creative, but still an exploit. Same goes to one-hitting them with a box filled with a shit ton of scrap.

Otherwise you can just go and collect those nearly industructible boxes and block every boss with them.

In reality they would just jump over those things or just move the aside as players could, but thanks to pathfinding they are like a wall.