There are numerous systems available for this type of system that are professionally designed and built, and satisfy all kinds of local codes.
Many are in use all over the world in off-grid cabins and similar.
You do need to take care that they are installed correctly, and maintained properly, but that isn't much different than a natural gas connection, or even normal everyday electricity.