You can. See: https://docs.astral.sh/uv/reference/cli/#uv-run--exclude-new...
How you use it depends on your workflow. An entry like this in your pyproject.toml could suffice:
[tool.uv] exclude-newer = "5 days"