No, because CustomListView was one of the earliest custom views and doesn't store it's class in it's tag.
If the code is how it's going to end up, what you can do is create a global for CustomListView1. As the ListItems are created, the global will point at the last CustomListView1 loaded and you can use that.
If you are going to use this again later in the app, you can add the CustomListView Object to the tag of the base of CustomListview1, it will then be available everywhere. This will only be a problem if you are already using the Tag field in the designer for CustomListView1 for something else.
Sub Class_Globals
Private Root As B4XView
Private xui As XUI
Private clv2 As CustomListView
Private CustomListView1 As CustomListView
Private dd As DDD
End Sub
Private Sub CreateListItem(Text As String, Width As Int, Height As Int) As B4XView
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, Width, Height)
p.LoadLayout("CellItem")
'Note that we call DDD.CollectViewsData in CellItem designer script. This is required if we want to get views with dd.GetViewByName.
dd.GetViewByName(p, "Label1").Text = Text
'Update the base tag of the customlistview for future use if required.
CustomListView1.GetBase.Tag = CustomListView1
'You don't need to use this here, you can access CustomListView1 directly. But just to check it's working
Dim my_clv As CustomListView = dd.GetViewByName(p, "CustomListView1").Tag
my_clv.Clear
Return p
End Sub