You can definitely build muscle with resistance bands. Eventually, though, the bands will not provide enough resistance to challenge you anymore, and your muscle gains will taper off.
How long that takes will depend on how strong you are now, whether you're getting enough cals and protein to build muscle, how much resistance the bands provide, your specific mix of muscle fibers, whether the prevailing winds are from the north or south, etc etc.
Kim