No, you can not. This is quite explicitly described in the Creating Libraries section of the user guide: [quote]
The Database classes can not be extended or replaced with your own classes, nor can the Loader class in PHP 4. All other classes are able to be replaced/extended.
[/quote]