You can do this one of two ways.
1: SmartApp - which you can have query the websocket and provide a list of devices to the end-user to choose to create virtual switches for
2: SmartDevice (like @ogiewon) - which you have query the websocket on Sense and create all of the devices
Either way you should use a container to keep the virtual devices together for ease of administration.
I didn't need all 24 devices in my HE. I just needed it for (2) washers and dryers so I can do Push Notifications to our devices when the laundry cycles are done depending on which washer/dryer or both completed (I have my mother-in-law living with us and I installed another set of laundry in basement). For me Sense was cheaper than buying other solutions and also then gave me information on how we were doing for power consumption. (2) Aeotechs are the same price as (1) sense. So it didn't make financial sense to not do Sense.