Depends on the printing technology. If you happen to have a LPBF printer at hand, you could also leave unwelded power in the cavities, creating a massive powder damper.
but even the standard FDM printers can create cavities that you can later fill with dry sand to get a really dead speaker...