I too have been experiencing this extremely frustrating notification. I have a Gdrive hdd connected to my computer via usb3 into my screen which acts as a hub via usb c into my m1 MBP.
I found this very helpful Terminal prompt to clear all this notifications in one fowl swoop using Terminal. Open the terminal app and type in " killall NotificationCenter" and press enter. Clears all of the notifications for me.
Originally found here:
https://apple.stackexchange.com/questions/325547/how-do-i-dismiss-many-multiples-of-the-disk-not-ejected-properly-notification
"I started killing processes with "Notification" in their name, and when I hit the one called "NotificationCenter" the smoke finally cleared:
killall NotificationCenter"