Use Isaac Sim/gym just to simulate the physics

Hey, I wanted to ask if it is possible to have different program (control and reinforcement learning) running and just use Isaac sim to compute the next states based on the current actions. Here I would like to send the actions to Isaac Sim/gym and compute the next state.
Is for this use case Isaac Gym or sim more suited.
thanks a lot.