Launching project on Steam Deck from Mac

I know from the documentation that you can use the Steam Deck like a dev kit and launch a project directly to it for testing. But I’m wondering if this only works when running UE5 on a Windows device, or if this can also be done on a Mac.
I don’t own a Steam Deck to test this myself, and whether or not it works would influence my choice to get one.