Dynamic XML

Is it possible to create a form through AS that can change or add to an existing XML file?