Of course...... but learning who the pilot was and proving it in court are a different kettle of fish
I would hope that the U.S. would have tightly controlled and traceable “Weapons Launch Authority” procedures. In peacetime, that could go up the chain all the way to POTUS. For high value targets, POTUS could delegate down the chain if the target is fleeting.