A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
You don’t say if this is server or WASM blazor, but you run into the same issue SharePoint had.
In webforms all asps pages needed to be compiled via the aspnet compiler before being loaded. Then the compiled dll is loaded into memory via an appdomain. You cannot unload a dll only an app domain. To allow scaling SharePoint used a no compile feature of webforms, but this did restrict what code a page could do.
Blazor or razor components require a compile. The razor template is converted to it code (just webforms). Unlike webforms, there is no runtime compiler, and blazor WASM does not have any compiler. Core has added support for unloading assemblies loaded via a context, but it require the client code to release all theads using it.
Assuming unload is not an issue, you need to create a razor compiler service. You code would call this service to compile the dll, and use blazor’s lazy loading support to use the component.
This will be a challenging project. The requirements do not match up well with the features of a strongly typed compiled toolset.
Compare to coding this react next.js or gatsby, both node frameworks.