Switch from CDbMessageSource to CPhpMessageSource and viceversa

Hi is it possible to use sometime CDbMessageSource (using database) and sometime CPhpMessageSource (using files)?

I mean I would like to use translated messages from db or from files depending on context/controller/action and so on. Any hint or idea on how to do that?

Cheers

Danilo