If you made a 2s battery pack you can't actually connect the same batteries in parallel, otherwise you'll short circuit them.
Assuming that you can disconnect the cells from their series connections we can proceed with the discussion.
If you want to connect in parallel and charge 2 unbalanced cell with a single TP4056, you can do that as long as the two batteries are connected by a (small) resistor to avoid the divide-by-zero issue: A=V/R. With zero ohm you will have short circuit current, which is usually dangerous, but you can proceed this way.
Battery charger (BC), battery (B1 and B2) , resistor (R).
BC+ --- B1+ --- R --- B2+
BC- ---- B1- ----------- B2-
The resistor R should likely be the smaller you have near you because with unbalanced cell even by 0.5V (which is a lot for two cells in series!) and 2ohm resistor you will only have 0.25A balance current, which is not dangerous for a lipo battery.
ps: you can't charge the cells at their maximum potential with the TP4056, and you should often swap B1 and B2, but you can have a "good enough" charge. With high ohm resistor you won't have a proper CC charge phase on B2, but that's all.
ps: i've done this "trick" several times with li-ion cells, but i can't guarantee that it will work flawlessly