Nope.The thermoelectric effect is the direct conversion of temperature differences to electric voltage and vice versa via a thermocouple.
A thermoelectric device creates voltage when there is a different temperature on each side. Conversely, when a voltage is applied to it, heat is transferred from one side to the other, creating a temperature difference. (Wiki)
A p–n junction is a boundary or interface between two types of semiconductor materials, p-type and n-type, inside a single crystal of semiconductor.(Wiki)