1
Previously it was a options in about:config called xpinstall.enable and you just need to change True/False. In newer versions of firefox I don't see it. Also I saw on some pc's when you try to enter or install firefox addons you get a pop-up window asking for password for installing addon.
You should be able to do this by installing the Firefox Administrative group policy template – Ramhound – 2017-10-27T01:34:05.240