Is it possible to freeze nuts to keep them from going bad?
Yes.

(do I need more of an answer than that?)

Okay -- the issue is the fats going rancid, and cold will help slow the process, but you should also try to get as much air out as possible.