Using your pre-existing fictional world as inspiration for your game is completely fine. The key rule is that the actual game itself must be developed during the jam period.