Here are the 4 major kinds of bans that users encounter in Pokemon Go. Therefore, if you are not using a safe tool to fake GPS location on Pokemon Go, then you might get a ban as well. Niantic keeps a regular check on the device and whenever a violation is made, it restricts the user. Though, a lot of people avoid this and use spoofing apps for Pokemon Go instead.
As you know, Pokemon Go encourages people to walk outdoors and catch more Pokemons.