No. The Battlefield 2 demo was released for Windows only, and there was never a native Mac version of either the demo or the retail game.
If you're on a Mac and want to try it, your realistic options are a Windows virtual machine or Boot Camp on Intel hardware — both of which need a valid Windows licence. On Apple Silicon, emulation layers can sometimes run older 32-bit titles, but results with a game this age are inconsistent.