Can you migrate DB and use another Wallet?

Trying to mitigate the download process of setting up a new wallet by just copying the DB with a new wallet. Would it work?