2 things:
1. As long as you can export it to a format that can be uploaded to itch.io and played by others, yes you can use python
2. Part of a game jam is making a game based on the theme, so don't commit to a game idea yet
it's an idea that I can bend to fit the theme, so I can have a vague idea of what I want
thanks btw