Of course, theoretically it can work... And you have to calculate it iteratively based on the I = Is * ( exp ( Vd / n * Vt ) - 1 ). You know theoretically the n and the Vt so you get the Is. Because you got two LEDs over the single one, it isn´t really sure that you are going to get 20mA through B, probably you are going to get less, going off my head here.
Practically, you wouldn´t even put diodes in parallel because of the differences in manufacturing and temperature ( as in Vt ), which can lead to a runaway effect.
Practically, you also have your average LED lamp committing that crime out there, only take seriously the ones that have many many LEDs in series and hope the lead resistance is enough to balance out.
BTW, just for the extra mind boggling, you also have to make sure no light is shining on the LEDs, or equal amount of light for all that it matters, go have fun now :-P