idk if i can use unity webgl for making the game as it follows the rule "The short version is: anything that can run on the Web in a browser without extra plugins is considered a valid jam entry."
Yes, as long as you provide a url to play the game online (and not a zip/exe/dmg alone), then it's allowed.