Can I safely enclose battery-powered electronics in an antistatic bag to protect it from static electricity?
If the Beaglebone and other circuit are completely enclosed in a sealed antistatic bag, with no holes in the bag, no switches or LEDs poking out of the bag, no cables going through the bag, then the Beaglebone is safe from static. If that's not the case then you need to supply much more information about the electrical and physical arrangement of your circuits. Of course, any electronic device operated inside a sealed plastic bag will get hotter than if it had air convection to cool it, so the Beaglebone might not work very well.