I would have to see specific text, but in general no. Given you don't do contracts, you are probably out of your league here. Words like "may" and "shall" matter greatly.
If the text of the legislation states that the money is to be spent on immigration enforcement, that is pretty broad.
My point which you obviously went out of your way to ignore is that if Congress wants to see monies spent a specific way then they need to be specific and precise. But, they haven't done that for a long time.
They have been leaving the language broad and to the interpretation of the regulators. They probably thought that was great because they knew the regulators would grow gobblement and they could fade the heat and avoid responsibility. But, now there is a new Sheriff that is taking control and now you don't like it. Don't hate the player.