What's the problem with that?
You just make your script's entry point be something like this:
uv venv --clear uv sync uv run main.py
Yes, I suppose you could use it in conjunction with something like https://github.com/krallin/tini.