Can I just use some sort of repellent product to get bats out of the attic?

Unfortunately, no repellent of any kind has been shown to work in the slightest. No powder or spray, natural home remedy, bright light or high-pitch sound machines will repel bats.  It would actually be very nice, because then we could remove bats easily (and harmlessly, just like a real exclusion).