You can exile the card even if you choose no targets.

Artwork
Loading artwork…
Iname, Life Aspect
Champions of Kamigawa · #215 · EN
Nonfoil—Foil—
Card rules
When Iname dies, you may exile it. If you do, return any number of target Spirit cards from your graveyard to your hand.
4/4
Iname rejoices in the dawn of a new life, but soon becomes jealous of the simple joys denied him by his station. So the cycle begins anew.
Rare · Illustrated by Justin Sweet
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You may target Iname, Life Aspect. However, this doesn't do anything since the card will no longer be in your graveyard when the creature cards are returned to your hand.
The targets of Iname, Life Aspect's ability are chosen when the ability is put onto the stack, but you don't choose whether to exile Iname, Life Aspect until the ability resolves.
If Iname is your commander in a game of Commander, you may choose to put it in the command zone after it dies, but if you do, you won't be able to exile it. If you do exile it, you may put it into the command zone from exile after resolving its ability.