Yes, as long as you have access to mains gas.
If you’re off-grid, laying pipes to connect gas to your home could be difficult and expensive, if not impossible. If that’s the case, you may need to consider electrical, LPG or oil-fired central heating instead.