Can a organic compounds such as hydrocarbons contain an ionic bond?
Azulene has a 1.05 debye dipole moment,


A hydrocarbon as such bonded as an isolated cation-anion pair with no heteroatoms could happen in principle given sufficient steric hindrance.   Penta-tert-butylcyclopentadienide or pentakis(2,4,6-tri-tert-butylphenyl)cyclopentadienide with like fully substituted cyclpropenium or tropylium might work.

Similar substitution on fulvalenes' four inner carbons would dihedral angle rotate the rings by steric hindrance.  This prevents the double bond from forming, giving sort of a sigma covalent plus pi-dative bond.