Is it possible to create this type of custom field?
I don't fully understand it. But since modules can quite freely design their fields in the CP, this should be possible with a custom field type. 

It sounds to me like a variation of the select field.