Since a double A battery is much smaller than 8 cubic inches then I would say yes, you can fit a double A battery in 8 cubic inches. In fact, you could put several double A batteries in 8 cubic inches. Whether it will do what you want is unknown since you have not been able to define what you want to accomplish with said battery.
----------------------------------------
The Help for this program was created in Windows Help format, which depends on a feature that isn't included in this version of Windows.