Not really
The decision you're thinking of is probably Citizens United v FEC
https://en.wikipedia.org/wiki/Citizens_United_v._FEC
The SCOTUS majority opinion was that when people join together into a corporation they retain their free speech rights.
The actual case was about a group airing a documentary critical of Hillary Clinton shortly before the 2008 US elections. The FEC ruled that it was election spending and thus subject to strict limits, while SCOTUS ruled it was political speech protected by 1A. Notably, the FEC had ruled in previous legal encounters with the group that Democrat documentaries critical of Republican figures were not election spending.