Set a room in a driver

Can we assign a room to a device in the driver. I want to be able to provide an optional preference in my parent driver that will create children in the same room as it is.

this thread was closed, but wondering if it every became possible, Get/Set room in a driver

thanks,
Louis