Yes, it is a popular and simple method to heat your home.
It is all you need to do is connect the power source to the electrical resistance. This article will provide a detailed discussion of constant, steady currents and voltages.
The result is a current I that is flowing through the resistance, R in accordance with Ohm’s Law
V=RIV=RI
The power active (P) lost by this resistance is:
P=VI=RI2P=VI=RI2
and then transformed into heat after an energy balance
PDt=wcpDTPDt=wcpDT
were DtDt is time interval, ww is the weight of the resistance, cpcp the specific heat capacity and DT=Tend-TstartDT=Tend-Tstart the difference from the initial temperature before you turn the circuit on and the temperature after you reach steady state assuming full thermal insulation of the resistance.