Are the atoms in stearic acid and ammonia held together by covalent bonding?

Yes, very.