Yes, you could do it that way. You would have to make a list of the files in that folder, either with the Tree Control extension or using the Load Files List function of the List Object, and then run a loop deleting the files one at a time based on their line number in the list and the Loop Index.
And that was how I was doing it, until I discovered the File-Folder object by Sphax. It can delete a folder plus everything inside in a single action. Thank you Sphax!!!!!!