There is virtually zero chance that a doctor will lose their medical license for diverging from the from the usual clinical practice guidelines around statins. Check the state medical board disciplinary records.
But if they're employed by a health system and fail to follow company policy then yes, they could be fired.