Towards a holographic framework for cosmology