You really shouldn't keep wild animals as a pet. The difference between foxes and dogs are generations of domestication through careful breeding. So while they are adorable and cute, these wild animals will display their wild tendencies like being aggressive, digging, and nocturnal. Not only that, they are native to Africa. If you buy one and it decides to run away, you'll have introduced a foreign species into you region and it could threaten the native species. While the population isn't exactly known but the market for them as pets might cause them to become a threatened species because of demand. I get that you can find people who have them as pets, but people also have rare snakes, lions, bears, and other wild animals and that doesn't make it right. Wild animals are uniquely adapted to their environment.
If you are looking for a dog that looks like a fox, there are a couple options. First is the Indian Dhole, a regular Dhole, the Finnish Spitz, Korean Jingo dogs, Indian Spitz,red Alaskan Klee Kai, Japanese Shiba Inu, Vulpine Italiano, and American Eskimo dog. If you're looking for a cute small dog with big ears and eyes that you can dress up, some options include long-haired Chihuahua, Corgi, Papillon, Keeshond, and Schipper. Personally, the Schipper looks like a fox and is really cute while remaining on the small side. Plus they come in black, black and tan, blue, and brown. These dogs aren't endangered, won't take wild animals out of nature, and have been properly domesticated. While not as alluring as a wild exotic animal, they are practical options as pets.