Dynamically Bake scene at runtime

Anyone know if its possible to Bake a scene during runtime?

I have a project that uses NO GI but relies on a single SKybox for lighting.
I’d like to be able to swap Skyboxes at runtime.
However, after changing the Skybox I always need to hit ‘Bake’ in the editor for my materials to update.

You can set the skybox at runtime via
RenderSettings.skybox

and update the light for your scene via the command
DynamicGI.UpdateEnvironment

Thanks, but pretty sure I will need GI enabled :frowning: