Thinking of a block of metal (with some holes in it) as foam is really counterintuitive. But these composite metal foams have some really interesting properties, notably low-weight armoring for vehicles.
And yes, that includes spaceships... so I guess I need to add the #SciFiScience tag here.
(It also seems to be decent against shaped charges, but the papers on that were a bit more skidy)
Link: https://advanced.onlinelibrary.wiley.com/doi/10.1002/adem.201600776