My solution to prevent Macbook Pro M1 insomnia was to create a Keyboard Maestro Macro that disables Wi-Fi and Bluetooth with the Trigger "At System Sleep" (and re-enables them at wake.)
Worked perfectly... no more issues since.