Edge can do that since it's also based on Chromium, which is the basis of Google Chrome. Firefox is its own separate thing, so likely impossible or very hard to do.
As mentioned by @MateusRodCosta , firefox is separated from chromium based browser. In another word, it's impossible to add add-on for chromium based browser into firefox.