I had the same question before and asked on Discord, they said General rule of thumb: if it could be used for multiple different games, it's a fine thing to have prepared before the Jam (also it would be great if you also credit all external sources)
so I'll come up with the characters/setting/narrative when the theme is announced, but I can use my existing code for walking around a dungeon, and my existing pixel art asset packs