They are all using generic USB encoders which detect as Dragon Rise
Is this the expected behaviour? or a bug?
This is expected - the input configuration is tied to the name of the controller, so configuring one of the controllers will generate a configuration for all of them. When you configure one of the 6 buttons controllers, the same configuration is applied to the rest of the controllers with the same name (including the ones with the 4 buttons layout).