Sure it is.
RCW 9A.16.050
Homicide — By other person — When justifiable.
Homicide is also justifiable when committed either:
(1) In the lawful defense of the slayer, or his or her husband, wife, parent, child, brother, or sister, or of any other person in his presence or company,
when there is reasonable ground to apprehend a design on the part of the person slain to commit a felony or to do some great personal injury to the slayer or to any such person, and there is imminent danger of such design being accomplished; or
(2) In the actual resistance of an attempt to commit a felony upon the slayer, in his presence, or upon or in a dwelling, or other place of abode, in which he is.
RCW 9A.52.025
Residential burglary.
*** CHANGE IN 2011 *** (SEE 5891-S.SL) ***
(1) A person is guilty of residential burglary if, with intent to commit a crime against a person or property therein, the person enters or remains unlawfully in a dwelling other than a vehicle.
(2)
Residential burglary is a class B felony. In establishing sentencing guidelines and disposition standards, the sentencing guidelines commission and the juvenile disposition standards commission shall consider residential burglary as a more serious offense than second degree burglary.
RCW 9A.52.040
Inference of intent.
In any prosecution for burglary, any person who enters or remains unlawfully in a building may be inferred to have acted with intent to commit a crime against a person or property therein, unless such entering or remaining shall be explained by evidence satisfactory to the trier of fact to have been made without such criminal intent.