Yes, sounds fine. Things that can be used for multiple different games are "engine things" and those can be worked on in advance. The game itself and anything bespoke to that specific game must be done during the jam period.