You can, but generally you don’t. AE does not work in real time. To edit sound, you need to work in real time. So when you press the period key on the numeric keypad, it “previews” the audio in real time. When you RAM Preview, it will play the sound in real time (because it is playing the video real time). Otherwise, AE takes as long as necessary to create each frame. Sometimes it can do this real time (for really simple), usually not. So it doesn’t even try to play audio while you work.
I believe most people match sound up with their animations in an editing program like Final Cut Pro or an audio program such as ProTools. That’s how I do it, at any rate.
ben