Yes, Scratch is acceptable. You can use whatever engine you want.
As for your second question, that defeats the point. The point is to create something within the interim of the duration, making it in advance ruins the fun and tbh the spirit of the jam.