The only is the sticking point, "Self" does not mean it targets only you, it does mean that it does target you.
Eyebite is an example, it grants the caster additional actions, those actions are also part of the spell, all affected including the caster are targets (either by being the victims of its special actions or by being granted them).
Smite spells are another example, when they are cast, they buff a paladins next hit, and then also target the enemy hit.