When using Runge Kutta methods for real time simulations there is a problem with the constant step length $h$ since the operating systems often interrupt the simulation and the main loop therefore has a variable length.
Is it relevant to use a slightly variable $h$ being the real time for the calculation in the loop? Are there other methods better suited for real time simulations?
No, the great thing about Runge-Kutta is that even though it appears to be a third-order method, by a "miracle" of the algebra it is correct to fourth order.
If you let $h$ vary and use naively use the same formulas, the algorithm gets errors on order of $h^2$ and so you might as well be using the basic Euler method. If instead you properly correct for the varying $h$ you can restore it to third order but the fortuitous cancellation that gives you one free order will never recur.