Yes, you can use a demo account for as long as you want until you see that it consistently makes you money, at which point you can switch to a real account.