Yep it's as simple as that! You can even work with other people, although it'd be good if you wrote who did what in that case.
And yeah, game jams are a great way getting into making games, as well as trying out new techniques and processes without any pressure :)