I want to test some ideas to see if I can do it before the jam, is it okay to do?
Yes, you can test ideas or make small prototypes before the jam.
But the final game you submit should be made during the jam period.