I had a question about setting up golas in Google Analytics. According to the analytics help pages

URL for the goal page: Specify a page that can only be reached by
achieving a goal. In the case of a registration goal, for example, the
goal page might be the Thank You page. If visitors who have not
completed the goal can reach your goal page, your conversion rates will
be inflated.

Now, in the above scenario, lets say a Bot/several bots visit the site,
and actually manages to access to Thank You page, would that not
inflate the statistics? Is there a way to avoid this