Can I have a wood burning, pellet or gas fireplace in a tiny house?

Any of these options are available for residential (foundation ready) tiny homes; however, wood burning and pellet units no longer meet RV code. Gas (propane) units are still available, with stipulations of proper insulation and ventilation.