Is it possible to do this in Yii? I have looked at how the imports are handled (CApplication->setImport) but can't find any corresponding method for handling aliases.
You can define alias before the application instance is created. For example, you can call Yii::setPathOfAlias at the beginning of your config file or before you create application in index.php.