Any attribute can be set to dynamic and can be made *Wildcard* within the Params.
However, it is not recommended to use wildcards for PATH.
As a best practice, please try this approach.
Create a data item with path something like this /HTML/BODY/TR(Counter)/etc
1) Either increment the Counter and check exists for the element, then continue.
2) OR Insert multiple check exists conditions in single wait statement. Each check exists should contain different Counter values.
Eg : /HTML/BODY/TR(1)/etc , /HTML/BODY/TR(2)/etc , /HTML/BODY/TR(3)/etc , /HTML/BODY/TR(4)/etc . . . . .