Can we read from a different database and write to a different database from the Silverstripe application?

Idea is to use two databases in same silverstripe application.