Writing Mods

Hi, as a question… If one is a mod developer here, can one decide for which games one develops mods? Or do all developers follow the rule that one can only write mods according to popularity? Do the developers have to go by that? Or do they just do it?