python-box does this in the most intuitive way possible:
>>> from box import Box
>>> empty_box = Box(default_box=True)
>>> empty_box.a.b.c.d.e.f.g # <Box: {}>