Yes, you can just add Pkg
commands at the top of your script:
using Pkg
Pkg.activate(temp=true) # maybe point this to a more permanent project location
Pkg.add("Requests") # these are not Julia packages ...
Pkg.add("Rich") # ... but you get the point.
See the documentation of Pkg.add
for how to pin specific versions and other details.