No we can't. In the early 2000s we desperately tried to get our governments to be less dependent on Microsoft and we completely failed. Europe is not a federation like the US, worse many of the countries in Europe themselves are governed much like federations. We are easy prey for big American corporations. It's easy for Palantir to sell their product and then a thousand little government organizations will claim there simply is no alternative at the same quality level.
Now, the EU can, using the anti coercion instrument.
> In the early 2000s we desperately tried to get our governments to be less dependent on Microsoft and we completely failed
You didn't have the great unifying dislike of the orange man as a motivating factor then. Now you do and I would wager there is significant public support behind getting away from reliance on the US.