How is the behaviour of using changed in the REPL?

In the REPL using can trigger Pkg.add.
Is it possible to use this also in non-REPL sessions?