It's super common with non-profits. Obviously they would prefer no strings attached but some light strings are usually not a problem for most non-profits.
For example, Wikimedia just recently claimed that they can’t chase some political project that critics wanted them to because most of their funds are earmarked-for/invested-in specific projects. So it does happen with US-based tech non-profits to at least some extent.