COD Mobile doesn't release any official emulators, but it is legal to play this game on PC using emulators like GameLoop. Therefore, you will not get banned using GameLoop, and some players get banned because of the anti-cheat system, not because of using emulators.
No, you won't get banned for playing COD Mobile on PC. It's one of the best Call of Duty games ever, and in the interest of making it accessible, TiMi Studios has developed COD Mobile to be cross-platform.