i was wondering if i could use scratch because i dont know much code but i really wanna participate in my first game jam solo
No, you don't have to use Unity. You can use any game engine you would like.
Or any language.
Any that is public and available for everyone.