In short, no. Altcoins uses different languages that they code in. Bitcoin uses SHA-256, litecoin uses scrypt and so does dogecoin I believe. You need to purchase a miner coded specifically for what you are planning to mine.
which mean i can mine any altcoin with any scrypt miner ?