Can I create a hardware configuration item via MIPSDK?

I wonder if i can create a new Hardware Configuration Item programmatically via MIPSDK (2019 R1) in the Event Server plugin to register a custom camera

You can add a camera by code. See the Configuration API Client sample or the Adding Cameras Using Configuration API sample.