im not a nerd or geek of hacking, but seems pretty easy to detect where and from what device you are playing, then we all are gonna get banned, its not like a PC gaming bot, since you DO use the PC for that game and not your mobile.
according to reddit apple does not allow apps to get device id anymore, they only allow the "advertising id". On iOS if you go to settings->privacy-> reset advertising id niantic should not be able to detect it is the same device, but I have not verified this.
i can verify that it wouldn't work. Once banned to the level of "failed to get game data from the server", nothing can retrieve it unless Niantic decided to release the ban.