You can create folders within the Elgato Steam Deck software using one of two methods:
1) Right Click on an Action, and select "Move To Folder"
2) Go the Steam Deck section in the Action bar, and Drag Create Folder onto the canvas
You can create folders within folders.
You can have any mixture of Actions that you like in each folder.