Probably, I’d say most sports/activities would be better for most people than going to the gym, as far as general fitness is concerned. Exceptions being bodybuilders.
I remember doing the JP Morgan charity run a few times and noticing how unfit lots of the bodybuilder types from my company were, it’s not like they were particularly massive either, just a bit muscular.
Bodybuilders are some of the most unfit people I know!