New finite element with dependence on neighbours

Hello to all experts,
I am wondering if it is possible to define a new finite element type, where the interpolation points (as well as the base) depend not only on the current triangle, but also on the neighbours. This is the case if we consider for example the gravity center of each triangle, join them to find the intersection with an edge, as on the figure


Then I would like to take the three intersection points A,B,C on the figure as interpolation points. Is this possible ?

Yes, i is a little tricky,

But before, it is for what,

They are lot way to solve this problem,

For exemple store the point A,B,C in finite element P0 or in P0edgedc ,

So you can make a visio begin of january after the 8 /01 morning.