Yes, you can freeze just about anything, including ice cream, in a mason jar. The important thing is to remember to use freezer-safe jars. Look for jars with straight sides instead of shoulders. If you're buying new jars, just read the label to make sure they're suited for freezer use.