I know nothing about Stream Deck XL, but I donāt think that is relevant to your question. The problem is that SketchUp is mostly driven via an interactive GUI, not by commands. For example, to import a component you first go to a source, usually either a local collection or the 3D Warehouse, and there you interactively select the component of interest using the GUI. Then you interactively drag the import onto your model using the cursor and click to place it where you want. I see no way to implement all that via a button press or keyboard shortcut regardless of the device.
The examples you mention involve activating a Tool, following which you use the GUI to do things with that Tool. Importing components doesnāt fit that scenario.