Can "A vote for/against B" be turned into the passive "B was voted for (by A)"?

Sentences of the type

The bill was voted for/against [by X].

do indeed exist in English. They are instances of passive constructions, about which commentators have expended much ink in the past and many bytes of memory today.

The sentence that actually interests you, to judge from a comment that you posted beneath your original question, is this:

A second round of price rises were voted for [by OPEC members].

This, too, is a common type of construction in English. You will note, however, that your proposed replacement for the original active construction, which was

OPEC members voted for a second round of price rises.

has created a singular/plural issue where none previously existed. Now you have to decide whether OPEC voted for "a second round (of price rises)" or "price rises (with respect to which this episode of voting was the second round)." In the former case, "a second round" is the subject and takes a singular verb in the passive construction, as BillJ notes in a comment beneath the posted question:

A second round of price rises was voted for [by OPEC members].

In the latter case, you may need to engage in some further contortions to square the construction with the intended plural subject. Something like this might work:

Additional price rises were voted for [by OPEC members], following approval X months ago of an earlier round of price increases.

Often, the purpose of a passive construction is to present an action or event as if it spontaneously or inevitably happened, not as if it represented an outcome that specific actors carefully engineered to advance their own interests. If that is the reason for your preference for a passive version of

OPEC members voted for a second round of price rises.

you will probably want to drop the "by OPEC members" from the passive construction. Doing so would leave you with this wording:

A second round of price rises was voted for.

Unfortunately, that sentence breaks off a bit abruptly and gracelessly at the end, which has the undesirable effect of calling attention to the absence of a named group responsible for the vote. Polished purveyors of passive constructions make an effort to choose verbs that sand away such jagged endings. Here, a more suitable passive construction might be

A second round of price rises was approved.

The wording iss compact, smooth, and over before the reader knows it. Undoubtedly, many readers won't even realize that the sentence doesn't identify an actor responsible for the named action. Another tactical victory built on passive constructions is achieved.