We recycle almost everything and this is exactly how I store them until I can take them to the recycling place. I used to use the same idea to sort laundry in our bathroom but had no room for them in current house so they became our recycle bins. Easy to clean & just pick the whole thing up and take to recycling center.
Buying or building a shelving unit that can slide in and fit around the toilet is a great use of space. This bathroom hack is perfect for renters because it can slide in and out without damaging the wall.