Yes, you're on the right track. Any geometric shape can be used as a subwoofer enclosure and to estimate the internal volume before you build it just break it up into its basic triangles and rectangles, calculate those, and then add those volumes together.