I suppose this would be theoretically possible if you use a custom view engine that loads templates from the class library.
This approach, however, seems rather wrong. If you want to create an analogue of server controls, it is best to implement them as Html helpers, since the MVC command has already begun. Shameless plugin - you can look at the html helpers for jQuery UI that were built by Telerik - they use a wrapped approach.
source share