There are customized DietPi images with gadget_cdrom and kernel patch for big isos in the releases section, just write it to sd-card (you can use rpi-imager, dd, etc.), turn rpi on and wait a few minutes to get everything ready.
https://github.com/rzrbld/gadget_cdrom_bpi_m2_zero
sudo apt install -y p7zip-full python3-rpi.gpio python3-smbus python3-spidev \
python3-numpy python3-pil fonts-dejavu ntfs-3g
# sudo ./create_image.sh
Space available: 24G
Size, e.g. 16G? 8G"
Creating 8G image...
Done!
dtoverlay=dwc2
to /boot/config.txtdwc2
to /etc/modulessudo raspi-config
Interfacing Options
SPI
Yes
cd /opt
sudo git clone https://github.com/tjmnmk/gadget_cdrom.git
sudo ln -s /opt/gadget_cdrom/gadget_cdrom.service /etc/systemd/system/gadget_cdrom.service
sudo systemctl enable gadget_cdrom.service
sudo reboot