Yes.
However, as the process involves combustion, care and common sense must be observed. Safety precautions to be adhered to such as : any leaks if detected, must be attended to, smoking should NOT be carried out in the vicinity of Dedko, etc.
In general, bio-gas is considered to be much safer than a traditional LPG or CNG use.