Could Congress allocate funds for a project or agency, but add a restriction that the funds cannot be used until some other criteria is met?
For example (purely hypothetically, of course):
Could Congress allocate $5 billion for a border wall, with the restriction that the money can't be used until after the federal government has acquired all the land that would be needed to build it?