Yes, Helm of Awakening applies to X spells.
In particular, when you play a spell: First, choose values for X. Then, choose targets. Third, determine the cost.
For example, you can still play Fireball with X=0 even with Helm of Awakening in play and deal zero damage.