I'd be on the liberal end of the spectrum if I thought it was just some one-off hijinks by the character. If I had a player who considered this such a go to strategy that "it DRAMATICALLY changes the power level of an Arcane Trickster Rogue in tier 2" then I'd probably lean towards deeming it an attack and not allowing it at all. I'm inclined to give the Arcane Trickster a wide latitude to make the most of one of their core abilities, but 5e is fairly stingy about where it gives out additional attacks (and the places where it isn't careful tend to be some of the examples of more unbalanced abilities, feats, etc.).