The Megablast tool (blastn) on the public Main Galaxy instance at http://usegalaxy.org has a fixed set of target databases.
However, you can install and use either Megablast or BLAST+ on a suitable local or cloud Galaxy instance with the target database of your choice. Here are some links to get started:
Good luck! Jen, Galaxy team