If Home allows Lickitung with Wish to be transferred into BD/SP, then Wish will be considered a legal move on Lickitung. However, if Home does not allow you to transfer Lickitung with Wish into BD/SP, then Wish will be considered an illegal move on Lickitung.
Your problem is that any Lickitung originating outside Gen 3 cannot legally access Wish. The origin of the Lickitung can be proven easily by viewing its summary screen, which gives anybody who cares a way to prove whether the Wish Lickitung truly came from Gen 3.
As such, it would be very easy to tell that you used the menu glitch (or PKHeX, etc) to get the Wish Lickitung. Official competitions would certainly consider this to be illegal, and most fans would probably tell you it's illegal as well.
tl;dr no