There's no limit on the layout size. In fact, you can keep it small, enable 'unbounded scrolling', and you can keep scrolling more or less forever. However, you'll have to generate your levels by code (there's no practical way to design such a large layout in the editor).