My Tesla and heat pump are not under the same electric meter, can the control be completed?

My Tesla and heat pump are not under the same electric meter, can the control be completed?

The main CT must be connected to the main electric box, and the sub electric box can be connected to the sub CT. However, the circuits of Tesla and the heat pump must finally converge to the main electric box. If they are two completely different electric boxes, load scheduling cannot be realized.