The whole point of the F-35 is that it is a stealthy platform with a very advanced set of targeting and weapons capabilities: but the issue is a similar capability drone would basically have a similar price tag since the expense of the pilot is minor in that case.
Like plausibly the best autonomous F-35 platform would just be an F-35.