The C−H functionalization of commodity polymers could be a promising approach for upcycling plastic waste into advanced materials, which can alter the properties of the original materials through the introduction of different functionalities onto the existing backbone structures. In this study, waste polystyrene (PS) was modified by Friedel−Crafts acylation using 4-chlorobutyryl chloride (4-CBC) followed by reaction with N-alkylimidazoles to form cationic polyelectrolytes. These methods provide access to what are essentially poly(ionic liquid) (poly(IL)) materials with properties that are distinctly different from those of the PS from which they were formed. In one notable example, the glass transition temperature (T g ) of imidazolium-functionalized PS was ∼16 °C, which is a nearly 90 °C reduction from PS. This is also evidenced by macroscopic mechanical properties where the poly(IL) product is highly elastic in stark contrast to brittle PS. Moreover, the resulting ionomers showed self-healing behaviors in the presence of a "free" IL further contributing to the utility of the materials. The methods in this work can open opportunities to utilize waste PS to obtain a vast array of poly(IL) materials with highly tailored structures and properties.