^ The short answer is typically no. But whatever works in the mix. What sounds right is right.
Consider a single pair of L/R stereo pair of cardioids. Use whatever stereo angle you like between the two. Pointing them 180º apart would be extreme but you wouldn't invert the polarity of one of them because the angle increased to 180º. In that case the mics are being angled along the Left/Right axis, but same goes for angling them along any other axis. If the goal is pickup of content arriving from that direction, you probably don't want to invert polarity.
Long answer exploring why in more depth, feel free to ignore if confusing..
Fundamentally -
An omni is a "pressure sensor" regardless of which direction it's pointed. Positive pressure at the diaphragm produced by a wavefront arriving from any direction produces a positive signal voltage output. Inverting polarity of an omni will tend to cause cancellation of low frequency content when combined with the other mics of the array which are not polarity inverted.
In contrast, inverting polarity of a figure-8 flips its orientation to the opposite direction. The fig-8 pattern remains the same, but now a positive output voltage will be produced for wavefront arriving from the opposite direction. Inverting polarity of a rearward-facing fig-8 produces a forward-facing fig-8 pattern.
A cardioid is an equal combination of omni and fig-8 components from the same point in space mixed together. Inverting polarity of the microphone output inverts both it's omni and fig-8 components at the same time. Prior to the polarity inversion those components are combined in the same way as before - the positive output lobe of the fig-8 component mixes additively with the omni component, doubling output on-axis, while the negative output lobe of the fig-8 component mixes subtractively with the omni component forming the rear-facing null. Since the polarity of both components is inverted, the polar pattern faces the same direction as before, but with inverted polarity. When mixed with the other microphone channels the inverted polarity output of this microphone will combine subtractively wherever the signal is sufficiently phase-coherent across the summed channels, which with a near-spaced pairs will tend to occur at low frequencies. Were the signal is not phase coherent across the summed channels it will mix additively.
So.. inverting polarity of a near-spaced stereo pair pointed in the opposite direction will probably cause the mix to sound leaner in the bass where the content is mostly phase coherent in all mic channels, but probably won't sound much different at high frequencies where the content and phase-relationship between in the various channels is different.
Taking it further-
If instead we were able to invert polarity of only the fig-8 component and not the omni component before the two are combined inside the microphone, the resulting cardioid polar-pattern would then face in the opposite direction, yet the polarity of the microphone's output would remain the same. That's essentially what is happening when converting Mid/Side to Left/Right. The fig-8 Side channel's contribution to the Right channel is made with inverted polarity, so the Right virtual polar pattern faces the opposite direction of the Left virtual polar pattern.
If instead we were able to invert polarity of only the omni component and not the fig-8 component, the polar-pattern would also face the opposite direction, AND the combined output would have inverted polarity.
That's essentially what's going on with Ambisonics, where multiple microphone capsules are arranged so as to be as coincident as possible and pointed in all directions. With all the mic capsules positioned in nearly the same point in space, their outputs remain phase-coherent to a sufficiently high frequency that the virtual patterns which result from combining their outputs in specific ways via the manipulation of polarity and level maintains the polar pattern shape up through a sufficiently high frequency. The closer the arrangement of capsules in an ambisonic mic, the higher in frequency it is able to maintain a coherent pattern.