Yes, you can use "a" before words that start with vowels, but it depends on the sound, not just the letter. For example, it's "a university" because "university" starts with a "y" sound.