It depends on what you want to play.If you care about gaming in any capacity, you shouldn't be buying Apple to begin with
Apple offers free cloud saving, unlimited controller profiles, a persistant gamer profile across games and devices, support for all major controllers and a family-friendly subscription service.
No, you're not going to replace your PS5 with an Apple TV any time soon. But the iPhone is a much stronger platform than given credit. I can play every major Square Enix RPG of the 1990s, bottomless RPGs like Disgaea and Stardew Valley and classic quick-play iOS titles like Tiny Wings and Trism. Its an agnostic platform that hosts Xbox games like Halo and Geometry Wars, PS titles like Flower and Journey alongside Nintendo franchises like Mario.
I can run ScummVM and play Monkey Island 2 or Fate of Atlantis and emulators now fill in the gaps. My PSP digital collection and Wii Virtual Console games are finally free! xCloud allows sub access to modern titles (and free Fortnite) and a Backbone ties it all together in a slick interface.
A Steamdeck or Switch are better, deeper devices but you can't fit either of them in your pocket for a quick go waiting at the Doctors.