You can use Unreal, but not the latest version. The game I submitted for the jam was made in Unreal, but it's built on Unreal 4.23. Also, you have to be a little careful about the assets in your game. If you pull in a bunch of extra assets that you don't need, then the game becomes too big to upload to itch as a web game.