[eluser]richthegeek[/eluser]
Yes, just as it is in all PHP programs.
With regards to inheritance itself, you can extend the controller or model base class (see "Extending Core" in guide) and libraries as well.
For polymorphism, you probably want to create a model that acts as the factory and include the target classes in the same file for creation by the model-extending class.