Omniverse code headless mode

Is there a way for omniverse code to run programs like isaac sim without a UI? For example, replicator

Yes. You can run them with in Isaac Sim with the "headless": True config in the Python code. See this example: 3. Offline Dataset Generation — isaacsim latest documentation