Migrating dynamic generation of controls in aspx codebehind to DotVVM

We are trying to migrate from ASP.NET Web forms to DotVVM on .NET Framework 4.8 and then finally to DotVVM on .NET 8.
As of now there is a scenario where the controls are created dynamically in the code behind based on data from the database. The web controls (Table, TableRow, TableCell, TextBox, etc) in the namespace System.Web.UI.WebControls are used to create the controls dynamically in codebehind, and the html content generated is placed in a asp.net placeholder control. We are able to use the legacy code AS-IS to generate these web controls dynamically while migrating to DotVVM on .NET Framework 4.8, but it seems we will not be able to do the same when migrating later to DotVVM on .NET8 as System.Web.UI.WebControls is not supported in .NET8. So, is there a way to migrate this scenario of generating web controls dynamically by using DotVVM controls instead of using the web controls in the System.Web.UI.WebControls namespace.