I don't know about the legal aspect, but I would not recommend it. Pellet stoves are designed first and foremost as space heaters. Yes, you hear about many people that heat whole homes with them, but that does not mean they are designed to do it. Heating a whole house from one corner on one floor with no duct system requires a very open house plan, depends greatly on size, insulation, etc. and you will still get cold spots on that floor. Multi level heating is even more complicated as the heat needs a way to get up there. if you truly want to go Pellet only, then you should look at some of these whole house Pellet furnaces, as a solution. if your getting a stove or an insert, I would get it as supplementary heat. it can be a "heavy supplementary", but not primary.
on another note - what happens if Pellet prices go sky rocket tomorrow? that can happen. then you will find yourself locked into one type of fuel with no options. So, I would install a primary system - geo thermal & Solar if I could afford it, natural gas if I have it and electric if no other options. then, supplement with the stove.