Hi,
Yes, but you would have to use either parametric optimization using (Design Explorer or OptiSlang) or topology optimization. Note that using Topology Optimization while minimizing the mass/volume would also change the shape of your structure (you can choose to maintain the outer shape depending on your need.
As Peter says, please reply with an image that describes your problem.
Regards,
Sandeep