Yes, chemical formulas can represent ions, such as NH4+​ for the ammonium ion.