Yes, if certain precautions are taken to cover and contain the fire. The 4 pm. Law applies to open-air burning, which means any outdoor fire that is not covered and/or contained within non-flammable barriers.
For example, a typical campfire is considered an open-air fire. However, an open-air fire may be acceptable if it meets all the following criteria: it is completely contained within a ring of rocks, cinderblocks, metal ring, or a similar device and is covered by a ¼ inch or smaller metal screen. If these criteria are met, the fire still must be attended at all times, and all flammable material should be cleared from a 20 foot area around the fire. Campers must also have ready access to water, rake and shovel.
Fires built in commercially available chimineas or fire pits are not considered open-air fires and are therefore legal, if they are in good condition to prevent the spread of fire to surrounding areas. Check with local authorities and/or the VA Department of Forestry for any concerns or questions.