Does it make any sense to take an aim action against an invisible target?

Checking over a battle with a caster versus an arcane archer/rogue. The caster, a bard, in this case, casts invisibility on themself. The archer still takes aim and hits with an advantage.

So my question is, does it make sense for the arcane archer/rogue to use their bonus action for aiming against an invisible target and still gain advantage to their initial attack roll?

Just seems a little funky to me that it was allowed because it doesn’t seem to make a whole lot of sense in the first place; at least not without a good perception roll…