Yes, as long as they get a few hours of sunlight a day (but always have shade if they need it), they should be fine.

Good luck,