From personal experience, it didn't flood my phone with spam. That's one report rather than a guarantee, though, so treat it with some caution.
Before handing over a number, read exactly what you're agreeing to. "Free" mobile offers often sign you up for a paid subscription that lands on your bill, so check the small print for recurring charges and how to cancel. If you're not certain, a prepaid number or skipping the offer entirely is the safer call.