Can I set Interval on code?

hello.
When I use the scene in grafana, is it possible to control the interval in code like the time range?
Instead of adding a SceneRefreshPicker to the controls, I want to set the interval like this: “new SceneTimeRange({ from: ‘2024-02-26 00:00:00’, to: ‘2024-02-27 23:59:59’ })”.