Giving something your attention not only implies it has value to you
This is what we’re talking about: value to me specifically.
If something has no benefit to me, I can see that doing it is a personal flaw but I still can’t resist the compulsion (could be anything: time wasting reddits, crystal meth, alcohol) then it seems really weird to conclude that I “value” it. I’m pretty sure most people don’t use the word “value” like that: it’s for something that has a benefit to the person. In this case, the “value” is negative if anything.
Sure, generally speaking yes. Who wouldn’t say that?
Here’s your problem though: the process of logic where you look at someone’s actions and conclude that they wouldn’t have performed the action unless it was valuable to them only works if:
Obviously neither of those things are true. Even if #1 was true, your approach still would run into problems because you wouldn’t know if a particular action was a misprediction (that actually didn’t end up providing value to that person) or whether it truly was beneficial. Since humans are both often quite irrational and pretty bad at predicting effects to boot, well… back to the drawing board.