In short, no. Damage would be 0 if your Atk/Sp.Atk somehow became 0.
Courtesy of Smogon:
Here is the Damage formula for DPP:
Damage Formula = (((((((Level × 2 ÷ 5) + 2) × BasePower × [Sp]Atk ÷ 50) ÷ [Sp]Def) × Mod1) + 2) × CH × Mod2 × R ÷ 100) × STAB × Type1 × Type2 × Mod3)
If you imagine a Diglett using Earthquake, you can immediately see that the damage becomes 0 after you input 0 in the [Sp]Atk slot because every other calculation would end up as 0 no matter what.