Anoles can survive in small quarters. The problem may be getting them to eat. If your pets aren't eating after a few weeks, you should release them again.
Yes you can, but I would suggest only having one, unless you know you have 2 females, 2 males will kill each other. And make sure you know how to care for them.