Although the technical answer to this question is yes.
According to Niantic, they won't let trainer collect any rewards if the game detects you're moving faster like over 30mph. Niantic speculates on what cheaters might be doing based on tracking their movements. For example, how many location changes occur per minute, hour, or day.
They set parameters on their anti-cheat systems to look for accounts that change locations frequently.