It is possible to use the exact same model as SideWaffle Template Pack (sidewaffle.com) uses for your own templates. Download the Visual Studio SDK from Microsoft and then create a new "VSIX Project". All you then need to do is to ad the NuGet package "TemplateBuilder" (http://www.nuget.org/packages/TemplateBuilder/1.0.3.21-beta)
See the SideWAffle wiki on How to create your own template pack.