Adjoint solution with PointSource as source term (f) for Poisson equation

If you look into my previous example, i.e : Poisson adjoint, you can see that my source term is the control of my gradient computation. In that example, the source term was an Expression, but here I am trying to use the same thinking with 2 source terms that are PointSource elements.

Is it possible to use those source points as control ? I went directly to the b parameter because it includes both of them, but you can tell me if it’s wrong and how can I consider taking directly the Pointsources (f1 & f2).

Thank you and have a good day.