Motown songs were recorded by studio musicians and the songs written by a team.
Same with Brill Building and sometimes the “Wrecking Crew” on the coasts...
But for bands that already existed. Steam wasn’t made up until after the song became a hit.