As far as size goes, it should be fine. You need to make sure that you can provide the proper temperatures and that there are not any easy places for the snakes to escape.
The other issue might be cleaning. Some corns can be messy, so if it is difficult to access the whole cage area for cleaning, then this could be kind of difficult.
Mark