Unfortunately there is no way to get more boxes, and the boxes cap out at 18 (540 Pokemon). The only way you can “get more room” is in later games, but it still caps out, it just doesn’t show more boxes until you have Pokemon in the original boxes it gives you.
So really you just have to release some Pokemon.
Sorry and I hope this helps-