Yes but I don't see your objection. That's basically what google, apple and alike are by definition. The marginal benefits and the techniques used to reach them are very sound. The cost function they choose is not.
Optimizing to the detriment of the user (eg for engagement, conversion, whatever) is straight malevolent and I've yet to run across a moral justification for it apart from market nihilism.