I would've said it was more a case of Goodhart's law:
> When a metric becomes a target, it ceases to be a good metric
The public health equivalent of the broken window fallacy would be maximising the spread of disease in order to boost the medical industry.