The whole strength of the F-35 is target destruction without detection of the F-35. Gun kills don’t fit the profile unless the targets are helicopters.
Doesn’t matter. Israel is probably just concerned with the stealth of the airframe and the hardpoints for the weapons suite. Everything else they will probably rip out and replace with their systems.