Well no not really. There’s strong cross-origin restrictions in browsers to prevent anything bad happening just because you visit a website.
Web extensions are troubling because they tend to have pretty unfettered access to one of the most sensitive parts of your computer.