Production of snake foam based on p-nitro aniline (PNA) was considered fun in old-school chemistry laboratories. Herein, we report the fabrication of a new carbon nanomaterial from PNA-based foam. The resulting material, resembling graphene and consisting of nitrogen heteroatoms, is N-doped graphenelike nanostructures, and their morphology, structure, and stability are comprehensively examined using combined techniques including C-13 NMR spectroscopy, X-ray photoelectron spectroscopy (XPS), and X-ray diffraction (XRD). An optimized route was also established for their large-scale production. Further experimental validation of them as a nanofiller in polymer [SEBS (20 wt %) and paraffin wax (80 wt %)]-based nanocomposites was carried out, and we found that the thermomechanical properties of the nanocomposites were synchronously improved, which was attributed to the enshrouding effect of the nanofiller to the polymer chains. Owing to their good thermomechanical property and low-cost feature, these new nanomaterials can be further explored as a promising candidate for applications in energy storage, catalysis, and CO2 capture.