Soundflower replacement on M1 Macs
BlackHole is similar to Soundflower. Rogue Amoeba is better, but not free.
There's a discussion regarding Apple Silicon compatibility at
https://github.com/ExistentialAudio/BlackHole/discussions/227
I've never tried it myself (prefer RA) but it might be worth a shot.