No, You can use whatever engine you want to use.
Just make sure it can run on the web or be downloaded from itch.io game project page.