If whoever is hiring is actually good at their job: yes.
That is of course assuming that they're looking for some long-term stable team member.
A skilled interviewer smells dishonesty.
However, and to be fair, whether and how they act on it depends on the specific situation.