Not if it wasn't benched until after the end of the turn it was attached. Boost only checks at the end of the turn it was attached, unlike Miracle Energy which checks at the end of every turn.
For a while, people used to abuse Light Dragonite and Boost Energy. Once Boost Energy has passed the discard at the end of the turn via Light Dragonite, it can only be discarded in the usual ways.