Based on https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/
Tested on DietPi (Janurary 2023) on a RPI Zero W.
Download and install the latest DietPi and enable wifi configurations etc. Setup can be done headlessly - look in the boot partition of the sdcard