It's been done before, ask Air India and others.
btw the ASRAAM I worked on in development starts off in infra red then reverts to 'flightdeck mode' if it becomes visual prior to impact, thus killing the pilots not just a shot into an engine. The database included civilian aircraft too!