This is where the value of electron wrappers and web apps installed as PWAs comes in. It offloads app management duties from your browser and puts them back in the hands of the OS.
The former of those two can also get rid of redundant menubars (as seen in e.g. Figma) which is a nice bonus.