Hello and welcome to our forums,
Yes, it is possible to achieve that.
However, please note that the more features you have, the more work will be needed to achieve this.
For more details about this, please have a look over the "custom install, multiple directories" thread.
Hope this helps!
Best regards,
Catalin