Contribute Speed to FIT file

In case of not having a GPS signal or ANT Speed sensor I would like to calculate estimated speed and write to the FIT file. 

Is it possible to contribute/write to the speed field in the FIT file?