Is it possible to start InDesign with a design file and run a UXP command from the OS Command line?
Not directly, as far as I can see.
But you can wrap your UXP code in a vbs or applescript doScript
call and use that platfom-specific script from the command line.