Sure, if you don't run it on gas at all. However, Toyota, for example, recommends putting in ~5 gallons (~20L) of gas over 12 months, which really isn't much at all. Most PHEVs don't even let you run dry, or significantly degrade performance if you do.
Follow the guidance from your car's manufacturer, but in general, it's probably not something you need to worry about.