Start simulation in offboard mode

I was wondering if there are some parameters I could set to start a simulated drone directly in offboard mode and armed.

When I am testing and debugging new code I found myself restarting the simulation quite often and I would like to “automate” the task.

I would script it with whatever you do offboard control with (e.g. ROS 1, MAVSDK, pymavlink, whatever).