You have an interesting use case and I assume you’ve already seen  Unsupervised learning of foreground object detection 31?
Could this approach work, if you add some postprocessing, i.e. using the soft masks to get a center of mass for your object localization?