The answer originally posted here was just "in video games," which is not a method. In practice, adding characters to a Super Smash Flash 2 build means editing the game's data files and, in most cases, loading a modded version of the .swf.
The Super Smash Flash community has historically shared these mods directly, which is far easier than doing it yourself. Note that mod files from unofficial sources are a common malware vector, so stick to well-known community hubs and scan anything you download.