What the official sources say
Mainland: remote work generally needs a residence permit that allows work; visitors may only do incidental remote work. Svalbard: no visa or residence permit is required, but you must have the means to live there.
Who can apply — nationality
Svalbard is open to all nationalities, but visa-required nationals need a double-entry Schengen visa to transit mainland Norway.
A published rule is not a promise of approval, and entering a country visa-free is not the same as being eligible for its residence permit. Check the entry rule for your passport.