The VM args are not compiled into your app. The IDE starts the java process and adds when it starts the process. In the same way that you can start any jar and pass VM and regular args.
This specific setting is equivalent to this code:
SetSystemProperty("com.sun.javafx.virtualKeyboard", "none")
With that said, I don't think that changing it at runtime will have any effect. But it is worth trying.