It's posible to calculate static light in a compiled game?

Hi, we are building a computer app that have an small editor to generate rooms.

The point its after we create the room, but before load it we will like to calculate the static light to generate a high quality interior with light bounces and good shadows.

So can we call the swarm agent to calculate it on a packaged game to generate that lightmaps and after load the room?

We understand to do it can be complicated, but first we need to know if at least it’s possible, or we just should discard this option. Any case if someone have done it or know how to do it, it will be a great help.

Thanks