'ghcup run'
This could be similar to stack exec
or so. You wouldn't need anything special in PATH, except ghcup itself maybe, then do:
ghcup run cabal -v 3.4.0.0 -- build
ghcup would then add ~/.ghcup/bin
internally to PATH when executing cabal.
How useful this really is... I don't know.