Only if you buy into "because they hate our freedom". In reality OBL couldn't care less about US domestic civil rights and liberties. He cared about US presence in the middle east and support for Israel.
The "the terrorists have won"-notion is based on the viewpoint that terrorists are just evil and want "bad things" to happen to their enemies. So whatever unpleasant consequence for you means that the terrorists have won. In reality, terrorists have specific agendas and goals. None of OBL's goals have been achieved, so he didn't win. If anybody won it was the NSA, DHS etc.
If you believe that the US spending isn't infinite, then spending on this helps aid his cause. Eventually, the spending shuts off and the US pulls out, right? We're talking about healthcare spending vs. military spending at some point. Other than shipping lanes and some oil supplies, all other middle east presence seems optional.
This NSA database has to cost a lot and a) they aren't supposed to admit it to the American people and b) they aren't supposed to even use it. Under what circumstances does it become useful?
If US pulls out of Iraq and Afganistan (not even leaving bases), then we are just back to pre-9/11 status. Only if US furthermore pulls fully out of the middle east, including cutting support to Israel, then OBL have achieved a goal. This is very unlikely to happen.
Sure, NSA is expensive, but come on, it is not going to bankrupt the US to the extend they have to give up strategic influence in the middle east!
Again, OBL does not care about US healthcare spending. That something is bad for ordinary americans does not mean that it further the terrorists agenda.
I read most "the terrorists have won" arguments as in-kind rebuttals of the silly "because they hate our freedom" rhetoric used to defend the War on Terror. In other words, I see those arguments like this: if terrorists really are exactly as we're told, and they just hate us and want to hurt us, then they've accomplished that goal.