Is it possible to create a new category of model?

I work on anomaly detection/segmentation on images, and I could not find a category of model that matches that.
Is it possible to create it by myself?