As long as it can be played on web, you can use that engine. You can submit a Windows build but that’s only recommended if the web build is unplayable/unavailable for some reason but it will impact your ratings since not everyone will be able to play it.
I don’t know what engine you’re talking about so I’m going to presume you mean pygame. I personally do not use pygame but I hope this tutorial will help you!