Hello majou,
Currently there is no way to "train" Metashape to detect custom type of the targets, but you can use external Python modules and scripts that would allow autodetection of the targets, then using some additional Python scripting you can create marker projections in locations based on the coordinates tracked by the external module/script on the source images.