Recording custom data field to FIT file

Is it possible to record the output of a custom data field into the current active activity (started via a button press on a Edge1000 for example) FIT file?