The present work reports the synthesis of indigo-dye-incorporated polyaniline (Indigo-PANI), poly(1-naphthylamine) (Indigo-PNA), poly(o-phenylenediamine) (Indigo-POPD), polypyrrole (Indigo-PPy), and polythiophene (Indigo-PTh) via an ultrasound-assisted method. The synthesized oligomers were characterized using FTIR, UV-visible spectroscopy, X-ray diffraction (XRD), scanning electron microscopy (SEM), fluorescence studies, and thermogravimetric analysis (TGA). The experimental data were theoretically compared to analyze the vibrational and electronic spectra via time-dependent density-functional theory (TD-DFT) by applying the Becke, three-parameter, and Lee-Yang-Parr (B3LYP) method with a 6-311G (d,p) basis set. The experimental, theoretical vibrational, and electronic spectra were found to be in close agreement and confirmed the successful incorporation of indigo dye in PANI, PNA, POPD, PPy, and PTh. These studies confirmed that multifunctional oligomers could be synthesized through a facile technique by incorporating dye moieties to enhance their optoelectronic properties, allowing them to be utilized as near-infrared-emitting probes for photodynamic therapy.