Yes. Open flame+flammable vapors=boom. Having said that I think that if you have good ventilation and don't fog the air with overspray you should be OK. Most Oil Furnaces have the flame enclosed enough to prevent the fumes from exploding. I'd make it so that the burner stayed off while you are painting but keep in mind that if the unit has a pilot light you still have an open flame.