Will acoustic foam pyramids suppress sounds from a neighbor?

No, materials like foam pyramids, acoustic foam, or panels can reduce echo or reverberation in a room, but they won’t noticeably mitigate noises coming from outside.