You dont need to do anything to do that. Cubemaps already work like you describe. You just have to sample one.