The passive voice is always grammatically acceptable; instead, you should ask whether or not it is stylistically acceptable. People often recommend the active voice because it is clearer, more concise, and more vivid. But there is no law saying that you can't use the passive voice when you want or need to, and there's no law saying that you must stick to one voice throughout one composition.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.