You can win a jackpot even if you manage to hit it using funds from your no deposit bonus. Bear in mind that some no deposits bonuses can only be used on certain games or titles though. The bonus money you get in your account is essentially real money to play with. This means hitting a jackpot is the same scenario as if you'd deposited your own money in the first place.