Short answer: Yes
Long answer: "We are not really worried about the technicality of whether you are creating a WebGL build or not; as long as your game can be played on the web and be submitted to itch's jam page, we are totally fine." - FutureInspireGames