Categorical encoded variables in scikit-learn diabetes dataset
Yes, it is perfectly legal to do so. Scaling such binary variables does not change the shape of its histogram and the shape is all that matters to most models.