hey, yes you can keep it stored sealed in a dark sealed container to keep humidity out, best temp for long term storage is around 4C, and of course keep it out of light.
DMT salts have a better shelf life though.... you can convert between freebase and salts with a little online research...
For legal reasons I keep only a few doses as product, the rest as bark.