Yes its possible, declare your activity and extend it to ExpandedControllerActivity, like this
MyCustomExpandedController : ExpandedControllerActivity() {}