

Yes, it can be intramolecular and intermolecular as well, because it is based on the presence of full or partial charges opposite in nature on the two groups.
Example, hydrogen bonding is a type of electrostatic force, which can be both intramolecular and intermolecular in nature.
