It is allowed, but you will probably want a way to export your project -- Scratch is hosted entirely in Scratch and so you wouldn't really have a way to move it over to itch.io
I Know Godot and you can see my submission to the gmtk game jam in my profiler site plusieurs Just an opinion if you want use scratch i dont care about you its your problem i Just gave you an advice