Sure in RPGLE but not in RPG/400 .
The length of each field can be varing, but not the number of elements.
D Temp60 S 60 Varying DIM(30)
Each element of Temp60 will take 62 bytes of memory.
If the data isn't coming from a varchar field you will have to %Trim whatever field it comes from. You may also have to deal with null value issues.