It is possible. It's essentially a setpos loop which uses 3 axis.
When it comes to finding out class names, one method is to do something like this:
_nObject = [0,0,0] nearestObject 123456;
hint format ["%1", typeof _nObject]
Not sure if typeof returns the class name.
123456 refers to the object ID of the object you want the class name of. I've never actually done this so the syntax is far from guaranteed and if I were going to do this, I'd use the editorupgrade and access the bushes that way. Then you'd only need to worry about the setpos loop itself.
There's a script knocking about that attaches an M2 machinegun to a vehicle which might be useful to you, as it's basically the same as what you're trying to achieve.