As long as it will upload to itch.io it's allowed, the only issue is if you're not exporting in an exe file or something which can be played in browser, you're likely to get much fewer plays.