Yes, you could do that, with some limitations. If you have more specific questions, you'll want to ask them in the dev forum:
https://social.msdn.microsoft.com/Forums/en-US/home?category=SfB
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.